基于jquery ,JUI jpager 开发的 customTable 插件,功能扩展讨论?
注释,规范 还在完善,目前的功能如下,希望可以指出 功能缺失和不足.
$.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. };