jquery Sortable参数jquery Sortable参数jquery Sortable参数
约束排序动作只能在一个指定的范围内发生。可选值:DOM对象, 'parent', 'document', 'window', 或jQuery对象
初始:$('.selector').sortable({ containment: 'parent' });
获取:var containment = $('.selector').sortable('option', 'containment');
设置:$('.selector').sortable('option', 'containment', 'parent');
cursor : String : 'auto'
定义在开始排序动作时,如果的样式。
初始:$('.selector').sortable({ cursor: 'crosshair' });
获取:var cursor = $('.selector').sortable('option', 'cursor');
设置:$('.selector').sortable('option', 'cursor', 'crosshair');
cursorAt : Object : false
当开始移动时,鼠标定位在的某个位置上(最多两个方向)。可选值:{ top, left, right, bottom }. 初始:$('.selector').sortable({ cursorAt: 'top' });
获取:var cursorAt = $('.selector').sortable('option', 'cursorAt');
设置:$('.selector').sortable('option', 'cursorAt', 'top');
delay : Integer : 0
以毫秒为单位,设置延迟多久才激活排序动作。此参数可防止误点击。
初始:$('.selector').sortable({ delay: 500 });
获取:var delay = $('.selector').sortable('option', 'delay');
设置:$('.selector').sortable('option', 'delay', 500);
distance : Integer : 1
决定至少要在元素上面拖动多少像素后,才正式触发排序动作。
初始:$('.selector').sortable({ distance: 30 });
获取:var distance = $('.selector').sortable('option', 'distance');
设置:$('.selector').sortable('option', 'distance', 30);
dropOnEmpty : Boolean : true
是否允許拖拽到一個空的sortable对象中。
初始:$('.selector').sortable({ dropOnEmpty: false });
获取:var dropOnEmpty = $('.selector').sortable('option', 'dropOnEmpty');
设置:$('.selector').sortable('option', 'dropOnEmpty', false);
forceHelperSize : Boolean : false
If true, forces the helper to have a size.
初始:$('.selector').sortable({ forceHelperSize: true });
获取:var forceHelperSize = $('.selector').sortable('option', 'forceHelperSize');
设置:$('.selector').sortable('option', 'forceHelperSize', true);
forcePlaceholderSize : Boolean : false
If true, forces the placeholder to have a size.
jQuery jqGrid中ColModel的参数大全(详解带实例)_计算机软件及应用_IT/计算机_... jquery Sortable参数 6页 免费 jquery上传插件uploadif... 7页 2下载券 ...
5页 5财富值 Jquery FlexiGrid配置参数... 2页 免费 jQuery的参数 1页 5财富值 jquery获取URL参数 12页 2财富值 jquery Sortable参数 6页 免费...
暂无评价 30页 免费 discuz源码分析 86页 免费 jquery获取URL参数 12页 2财富值 jquery Sortable参数 6页 免费 jquery_date参数说明 2页 2财富值...
jquery.dimensions.js ui.mouse.js ui.draggable.js ui.droppable.js ui.sortable.js 用法: $(document).ready(function(){ $("#myList").sortable({}); ...
jquery.dimensions.js ui.mouse.js ui.draggable.js ui.droppable.js ui.sortable.js 用法: $(document).ready(function(){ $("#myList").sortable({}); ...
JQuery 插件FlexiGrid 之完全配置与使用_IT/计算机_专业资料。JQuery 插件Flexi...{display: '信息标题 ', name : 'RITITLE', width : 250, sortable : ...
Jquery Jqgrid使用手册_IT/计算机_专业资料。jquery jqgrid完全使用收册 参数...如果 true Fit ean 为 false,则列宽度使用 colModel 指定的宽度 sortable ...
Jquery插件 easyUI属性汇总此属性列表请对照jQuery EasyUI 1.0.5,关于它的更多...7)sortable:当true时,允许该列进行排序。 8)checkbox:当true时,允许该列出现...
{ display :'编号', name :'id', width :60, sortable :true, align :'...了几个参数,与 jquery.flexigrid.trace.js 第 591 行的 param 参数相同,可...
(option),通过 jQuery提供的方法初始化UI对象时,可以在方法的参数中同时初 始...?【例8-5】演示sortable的基本用法。 8.2 联合使用ASP.NET AJAX和jQuery UI...
热门文档