Description of the format of parameters and returned values transmitted at the front end of datatable, and the returned values of datatable
Content:
JQuery dataTable Ajax paging implementation
Frontend transmission parameters: columns [0] [data] 0 columns [0] [name] columns [0] [orderable] truecolumns [0] [search] [regex] falsecolumns [0] [search] [value] columns [0] [searchable] truecolumns [1] [data] 1 columns [1] [name] columns [1] [orderable] truecolumns [1] [search] [regex] falsecolumns [1] [search] [value] columns [1] [searchable] truecolumns [2] [data] 2 columns [2] [name] columns [2] [orderable] truecolumns [2] [search] [regex] falsecolumns [2] [search] [value] columns [2] [searchable] truecolumns [3] [data] 3 // data [3] columns [3] [name] columns [3] [orderable] true // columns can be sorted [3] [search] [regex] false // Regular Expression columns is not supported for search content [3] [search] [value] // search content columns [3] [searchable] true // you can search draw 1 // The number of the browser cache, incremental non-Repeated length 10 // pre-read length = pre-read pages * order of the number of lines per page [0] [column] 0 // order by the first column [0] [dir] ascsearch [regex] false // The search content does not support the regular expression search [value] // enter the search content start 0 // start position, for example, from the return value format on the first page: {"draw": 10, // The number of the browser cache. The increment cannot be repeated. "recordsTotal": 57, // The total number of data rows "recordsFiltered ": 57, // total number of data rows "data": [["Cara", "Steven s", "Sales Assistant", "New York", "6th Dec 11 ", "$145,600"], ["Shou", "Itou", "Regional Marketing", "Tokyo", "14th Aug 11", "$163,000"]}