Tags: ushelp/DataTable
Tags
Best to use and powerful pure Ajax pagination V2.4.0 + 点击行,实现选中和未选中切换 + 添加Row行事件设置函数 DataTable.setRowEvent(events, [datatableid]) + 自定义分页,将分页内容定义在 <div class="customPaging"> </div>中,可以防止自定义的内容在渲染完成前显示 + Click OK to realize checked and unchecked switch + Add Row row event setting function DataTable.setRowEvent(events, [datatableid]) + Custom paging, paging content is defined in the <div class = "customPaging"> </ div>, you can prevent the custom content displayed before the rendering is complete
Updated to version 1.6 Added: 1, increasing the number of initial loading parameters row, the number of pages to load can be enhanced in two ways to specify initial parameter or HTMl. Fix: 1, fix a scheduling problem loading sequence and Loading approach may cause. Optimization: 1, to optimize the display page click
Updated to version 1.5.0 #####Important Notice : The upgrade version requires modifications to change all loading parameters set ! 1 , < modification ( important and must )> loading the page load parameter values modified 1.4.X and earlier versions upgrade to version 1.5.0 , loading parameters change : 1.4.X versions before loading parameters boolean value ( default is false). 1.5.0 After loading the parameter value is set to "default", "show", "none" or "hide" ( default is "default"), refer to the following specific meanings : default: The default page loading , loading data table operation is disabled (disabled hyperlinks , buttons ) , the form data is grayed show: Display load silently loading data loading displayed prompt " data is being read in ...... " none: hidden data show line mode , load the data show hidden data line data + cells showed complete blank hide: hidden data content and form , load the data in the data only show the hidden rows , reserved display cell borders Other values : as a reminder that content directly loaded when the page content ( equivalent to show the way ) , support for HTML content, such as : loading: "<div> <img src=\"images/loading.gif\"/> <br/> data is loading ...... </ div>" 【Upgrade to change program】 V1.4.X old code => V1.5.0 new code Claim loading parameter values: loading: true => loading: "show" loading: false => loading: "none" If the loading parameter value is not set , the default value when the effect is as follows false, hidden data => "default", disable data 2 , < Add > Add event processing parameters start and end, the data can be loaded from the event defines the beginning and end of the data load handler : start: ' data starts to load event handler ' / * o: The current data table object initFlag: true representative of the first load data (initialization tables), false representatives of the page to load * / "start": function (o, initFlag) { if (initFlag) {/ / first load (uninitialized) console.info ('init start ...'); } else { console.info ('load start ...'); } } end: ' end of the data load event handler ' / * o: The current data table object initFlag: true representative of the first load data (initialization tables), false representatives of the page to load * / "end": function (o, initFlag) { if (initFlag) {/ / first load (uninitialized) console.info ('init end ...'); } else { console.info ('load end ...'); } } 3 , details of the optimization , documentation updates
PreviousNext