Property name |
Take value range |
Explain |
Bautowidth |
True or FALSE, default True |
Whether to automatically calculate the width of columns in a table |
Bdeferrender |
True or FALSE, default false |
One of the parameters for rendering |
Bfilter |
True or FALSE, default True |
switch, whether to enable the client filtering function |
Binfo |
True or FALSE, default True |
switch, whether to display some information about the table |
Bjqueryui |
True or FALSE, default false |
Do you want to use the jquery UI Themeroller style |
Blengthchange |
True or FALSE, default True |
switch, whether to display a selection bar per page length (requires pager support) |
Bpaginate |
True or FALSE, default True |
switch, whether to display (use) the page splitter |
Bprocessing |
True or FALSE, Defualt false |
Switch to specify whether to display the "processing" message when the data is being processed |
Bscrollinfinite |
True or FALSE, default false |
Switch to specify whether unlimited scrolling (used with sscrolly) is useful in large amounts of data. When this flag is true, the pager closes by default |
Bsort |
True or FALSE, default True |
Switch to let each column have the ability to sort by column |
Bsortclasses |
True or FALSE, default True |
Switch that specifies whether to increase the classes ' sorting_1 ', ' sorting_2 ' and ' sorting_3 ' when the current column is sorted, and when it is turned on, the performance is lost when processing large data |
Bstatesave |
True or FALSE, default false |
Switch, whether to turn on the client state logging feature. This data is recorded in cookies, after opening the record, even if you refresh the page, or reopen the browser, before the state is saved |
Sscrollx |
Strings similar to ' disabled ' or ' 100% ' |
Whether to turn on horizontal scrolling and specify the size of the scrolling area |
Sscrolly |
String similar to ' disabled ' or ' 200px ' |
Whether to turn on vertical scrolling and specify the size of the scrolling area |
-- |
-- |
-- |
Options |
|
|
Aasorting |
Array array[int,string], as [], [[0, ' ASC '], [0, ' desc ']] |
Specify the basis for sorting by multiple columns of data |
Aasortingfixed |
Ditto |
Ditto. The only difference is that the user's custom configuration does not conflict. |
Alengthmenu |
Default [10, 25, 50, 100] can be a one-dimensional array, or a two-dimensional array, for example: [[X, C,-1], [ten, X, all]] |
This is to select the number of entries per page, when using a two-dimensional array, the two-dimensional level can only have two elements, the first is to display the number of entries per page options, the second is about the interpretation of these options |
Aosearchcols |
Default NULL, similar to: [NULL, {"Ssearch": "My Filter"}, null,{"Ssearch": "^[0-9]", "Bescaperegex": false}] |
Individually define their initialization search list attributes for each column (this piece is not yet understood) |
Asstripclasses |
default [' odd ', ' even '], such as [' Strip1 ', ' strip2 ', ' STRIP3 '] |
Specifies the class style to be applied to each row and automatically loops |
Bdestroy |
True or FALSE, default false |
Used when you want to perform a new DataTable binding on the same element, clear the previous data object and swap it with the new object settings |
Bretrieve |
True or FALSE, default false |
Used to indicate whether a DataTable object is returned when a DataTable binding is performed |
Bscrollcollapse |
True or FALSE, default false |
Specify the appropriate time to indent the scrolling view |
Bsortcellstop |
True or FALSE, default false |
(Unknown Dongdong) |
Icookieduration |
Integer, default 7200, per second |
Specifies the length of time used to store client information in a cookie, which expires automatically after this time |
Ideferloading |
Integer, default is null |
Deferred loading, which is the number of items to load, usually used in conjunction with Bserverside,sajaxsource, etc. |
Idisplaylength |
Integer, default is 10 |
To specify the number of bars to display on a screen, you need to open the page splitter |
Idisplaystart |
Integer, default is 0 |
Used to specify which data to start showing to the table |
Iscrollloadgap |
Integer, default is 100 |
Used to specify how many data can be displayed at most one screen when the DataTable is set to scroll |
OSearch |
Default {"Ssearch": "", "Bregex": false, "Bsmart": true} |
is also the initial time to specify the search parameters related, a little complicated, do not understand the current |
Sajaxdataprop |
String, default ' Aadata ' |
Specifies the name used by the data item when obtaining tabular data from the server |
Sajaxsource |
URL string, default null |
Specify which URL to get the data from |
Scookieprefix |
String, default ' Sprymedia_datatables_ ' |
The prefix name used to specify the string stored in the cookie when the state store attribute is turned on |
Sdom |
Default Lfrtip (when Bjqueryui are false) or < "H" lfr>t< "F" ip> (when Bjqueryui is true) |
This is a powerful attribute for defining the DataTable layout, and a separate document is added to the description. |
Spaginationtype |
' Full_numbers ' or ' Two_button ', default ' Two_button ' |
Used to specify the pager style |
Sscrollxinner |
String Default ' disabled ' |
It's related to horizontal scrolling, not knowing what it means. |