如何进行剑道模态移动选项窗口

问题描述 投票:0回答:1

当我单击按钮时,会弹出kendo弹出窗口,我想知道在浏览器中移动弹出窗口的选项。可拖动的:{包含:“#editor-form”},

可拖动选项不会移动它。

$("#add").on("click", function(){
		
			var start = new Date();
			start.setSeconds(0);
			start.setMinutes(start.getMinutes()+5);
			
			var end =  new Date ( start ); 
			start.setSeconds(0);
			end.setMinutes(start.getMinutes() + 30 );
			 
			var event = {
				scheduleId: 0,
	               title: "",
	               start: start,
	               end: end
				} ;
			
			editEvent( event );
});	

function editEvent( event ){
  currentEvent = new kendo.data.ObservableObject(event);			
  kendo.bind(editor, currentEvent); //Bind the editor container (uses MVVM)
  editor.data("kendoDialog").open();


}
			
::
kendo-ui draggable
1个回答
0
投票

在这种情况下,我宁愿使用默认情况下可拖动的Window Kendo小部件-https://demos.telerik.com/kendo-ui/window/index

© www.soinside.com 2019 - 2024. All rights reserved.