Required List of data-* attributes

Required List of data-* attributes

sumitsumit Posts: 5Questions: 3Answers: 0

Link to test case:
we are finding limited data-attributes in your website. Can you please share the list of "Data-attributes"

Debugger code (debug.datatables.net):
Error messages shown:
Description of problem:

This question has an accepted answers - jump to answer

Answers

  • allanallan Posts: 61,787Questions: 1Answers: 10,115 Site admin

    Do you mean the initialisation options?

    Just use the list of options and convert to dashed notation.

    Allan

  • sumitsumit Posts: 5Questions: 3Answers: 0
    edited April 12

    @allen : Thanks for your reply.
    I looking for this type of option list
    data-export-title="test"
    data-export-title="file"
    data-order='[[ 1, "asc" ]]'
    data-page-length='25'

  • kthorngrenkthorngren Posts: 20,346Questions: 26Answers: 4,776
    Answer ✓

    As Allan mention there isn't list of HTML5 data options. Use the list of options page and convert to dashed notation. For example pageLength becomes data-page-length.

    Some of the options can be tricky to convert. If you are having difficulties converting then post the Datatables config option you are trying so we can help.

    Kevin

Sign In or Register to comment.