当前位置: 代码迷 >> .NET组件控件 >> 基于jquery ,JUI jpager 开发的 customTable 插件,效能扩展讨论
  详细解决方案

基于jquery ,JUI jpager 开发的 customTable 插件,效能扩展讨论

热度:9646   发布时间:2013-02-25 00:00:00.0
基于jquery ,JUI jpager 开发的 customTable 插件,功能扩展讨论?
注释,规范 还在完善,目前的功能如下,希望可以指出 功能缺失和不足.
JScript code
 $.fn.pluginname.defaultSettings = {        'TableColumnsCookie': '',//will save page per number setting,visilbe columns setting into cookie        'TableCustomId': '', //recommend setting,you can give the render table unqiueid and cookiekey=TableColumnsCookie_TableCustomId        'SearchTerm': '', //Persistent         'SortName': '', //Persistent         'PerPageNumber': 10,        'TotalItems': 0,//will be updated after table render(will be updated in codebehind).        'CurrentPageIndex': 1,        'PageCount': 0,//will be updated after table render.        'PageSelectedUrl': '', //must setting. page selected trigger.        'OnPageChanged': function () { },//after page selected        'OnRowClicked': function (tr, rowid) { },//table row click event        'OnViewClicked': function (link, rowid) { },//table view action link.        'OnCopyClicked': function (link, rowid) { },//table copy action link.        'OnEditClicked': function (link, rowid) { },//table edit action link        'OnPrintClicked': function (link, rowid) { },//table print action link.        'IsSetInputChecked': false, //Provide single choice function         'isMultipleInputChecked': false, //Provide multiple choice function         'IsSetEditAction': false, //display edit link in action items.        'IsSetViewAction': false,//display view link in action items.        'IsSetCopyAction': false,//display copy link in action items.        'IsSetPrintAction': false,//display print link in action items.        'IsSetPerPage': false,//Provide number per page setting.(will render a dropdownlist(10-100))        'IsSetColumnsSetting': false,//Provide columns visible setting function.        'IsSetTopPager': false,//display a pager on table header.        'ExtendFlag': '',//custom extend flag.        'ExtendFlag_2': ''//custom extend flag2.    };


------解决方案--------------------------------------------------------

支持,支持。
------解决方案--------------------------------------------------------
没意见啊 还不知道你这个有什么功能啊
------解决方案--------------------------------------------------------
能贴个图出来看看吗?光看代码能看得出什么啊
------解决方案--------------------------------------------------------
有没有考虑 栏目的名称,数据类型,编辑提交时,客户端是否进行验证之类。
------解决方案--------------------------------------------------------
看上去不错啊。楼主牛人
------解决方案--------------------------------------------------------

还行。。。。

给点小意见:1.Set Per Page这个变成一个 bool属性。。。可以设置是否在前台显示这个设置框。。。
2.样式要更灵活。。。分别对分页样式和表格样式进行设置外部样式表
------解决方案--------------------------------------------------------
探讨

引用:
还行。。。。

给点小意见:1.Set Per Page这个变成一个 bool属性。。。可以设置是否在前台显示这个设置框。。。
2.样式要更灵活。。。分别对分页样式和表格样式进行设置外部样式表

thanks,
1:'IsSetPerPage': false,//Provide number per page setting. 所有的设置……
  相关解决方案