Property name |
Range of values |
Explain |
Bautowidth |
True or FALSE, default True |
Whether the table column widths are automatically calculated |
Bdeferrender |
True or FALSE, default false |
One parameter for rendering |
Bfilter |
True or FALSE, default True |
Switch, whether the client filtering feature is enabled |
Binfo |
True or FALSE, default True |
switch, whether to display some information about the table |
Bjqueryui |
True or FALSE, default false |
Whether to use the jquery UI Themeroller style |
Blengthchange |
True or FALSE, default True |
switch, whether to display a selection bar per page length (requires a 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 the "processing" message is displayed when the data is being processed |
Bscrollinfinite |
True or FALSE, default false |
Switch to specify whether infinite scrolling (used in conjunction with sscrolly) is useful in large amounts of data. When this flag is true, the paging device is closed by default |
Bsort |
True or FALSE, default True |
Switch, do you want columns to have sort by column function |
Bsortclasses |
True or FALSE, default True |
Switch that specifies whether to increase classes ' sorting_1 ', ' sorting_2 ' and ' sorting_3 ' when the current column is sorted, and when it is open, performance is lost when processing big data |
Bstatesave |
True or FALSE, default false |
Switch, whether to turn on the client state logging feature. This data is recorded in the cookie, after you open the record, even if you refresh the page, or reopen the browser, the previous state is saved. |
Sscrollx |
' Disabled ' or ' 100% ' similar string |
Whether to turn on horizontal scrolling and specify the size of the scroll area |
Sscrolly |
' Disabled ' or ' 200px ' similar string |
Whether to turn on vertical scrolling and specify the size of the scrolling area |
-- |
-- |
-- |
Options |
|
|
Aasorting |
Array array[int,string], such as [], [[0, ' ASC '], [0, ' desc '] |
Specify the basis for sorting by multiple columns of data |
Aasortingfixed |
Ditto |
Ditto. The only difference is that they cannot be conflicting with the user's custom configuration. |
Alengthmenu |
Default [10, 25, 50, 100], can be a one-dimensional array, can also be a two-dimensional array, such as: [[Ten,, 1,-+], [ten, A, +, "all"]] |
This is to select the number of entries per page, when using a two-dimensional array, the two-dimensional plane can only have two elements, the first is to display the number of entries per page option, the second is about these options explained |
Aosearchcols |
Default NULL, similar to: [NULL, {"Ssearch": "My Filter"}, null,{"Ssearch": "^[0-9]", "Bescaperegex": false}] |
Define its initialization search list attribute separately 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, automatically looping |
Bdestroy |
True or FALSE, default false |
Used to erase the previous data object when it is time to perform a new DataTable binding on the same element, swapping 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 stuff) |
Icookieduration |
Integer, default 7200, in seconds |
Specifies the length of time that is used to store client information in a cookie, after which it expires automatically |
Ideferloading |
Integer, default is null |
Lazy loading, whose parameters are the number of entries to be loaded, usually in conjunction with Bserverside,sajaxsource, etc. |
Idisplaylength |
Integer, default = 10 |
To specify the number of bars to display on a screen, turn on the paging device |
Idisplaystart |
Integer, default = 0 |
Used to specify from which data to start displaying to the table |
Iscrollloadgap |
Integer, default = 100 |
Lets you 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} |
The initial time of the specified search parameters related, a little complicated, not understand the current |
Sajaxdataprop |
String, default ' Aadata ' |
Specifies the name of the data item to use when fetching tabular data from the server |
Sajaxsource |
URL string, default null |
Specify which URL to fetch data from |
Scookieprefix |
String, default ' Sprymedia_datatables_ ' |
Used to specify the prefix name of the string stored in the cookie when the state store attribute is opened |
Sdom |
Default Lfrtip (when Bjqueryui was false) or < "H" lfr>t< "F" ip> (when Bjqueryui is true) |
This is a powerful attribute for defining a DataTable layout, and another special document to supplement the instructions. |
Spaginationtype |
' Full_numbers ' or ' Two_button ', default ' Two_button ' |
Used to specify the style of the page selector |
Sscrollxinner |
String Default ' disabled ' |
It's about horizontal scrolling, and I don't know what it means. |