Description of the format of parameters and returned values transmitted at the front end of datatable, and the returned values of datatable

Source: Internet
Author: User

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"]}


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.