jquery Sortable参数jquery Sortable参数jquery Sortable参数
设置:$(’.selector’).sortable(’option’, ‘revert’, true);
scroll : Boolean : true
如果设置成true,则元素被拖动到页面边缘时,会自动滚动。
初始:$(’.selector’).sortable({ scroll: false });
获取:var scroll = $(’.selector’).sortable(’option’, ’scroll’);
设置:$(’.selector’).sortable(’option’, ’scroll’, false);
scrollSensitivity : Integer : 20
设置当元素移动至边缘多少像素时,便开始滚动页面。
初始:$(’.selector’).sortable({ scrollSensitivity: 40 });
获取:var scrollSensitivity = $(’.selector’).sortable(’option’, ’scrollSensitivity’); 设置:$(’.selector’).sortable(’option’, ’scrollSensitivity’, 40);
scrollSpeed : Integer : 20
设置页面滚动的速度。
初始:$(’.selector’).sortable({ scrollSpeed: 40 });
获取:var scrollSpeed = $(’.selector’).sortable(’option’, ’scrollSpeed’);
设置:$(’.selector’).sortable(’option’, ’scrollSpeed’, 40);
tolerance : String : ‘intersect’
设置当拖动元素越过其它元素多少时便对元素进行重新排序。可选值:’intersect’, ‘pointer’ intersect:至少重叠50%
pointer:鼠标指针重叠元素
初始:$(’.selector’).sortable({ tolerance: ‘pointer’ });
获取:var tolerance = $(’.selector’).sortable(’option’, ‘tolerance’);
设置:$(’.selector’).sortable(’option’, ‘tolerance’, ‘pointer’);
zIndex : Integer : 1000
设置在排序动作发生时,元素的z-index值。
初始:$(’.selector’).sortable({ zIndex: 5 });
获取:var zIndex = $(’.selector’).sortable(’option’, ‘zIndex’);
设置:$(’.selector’).sortable(’option’, ‘zIndex’, 5);
·事件
start
当排序动作开始时触发此事件。
定义:$(’.selector’).sortable({ start: function(event, ui) { … } });
绑定:$(’.selector’).bind(’sortstart’, function(event, ui) { … });
sort
当元素发生排序时触发此事件。
定义:$(’.selector’).sortable({ sort: function(event, ui) { … } });
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...
热门文档