Documentation improvement

Documentation improvement

dirkbezdirkbez Posts: 2Questions: 1Answers: 0

Would it be possible to expand the documentation to add where HTML data-* parameters can be used and the correct implementation of various data-* parameters?
It would be a great help where the initials table definition is done in HTML.
Thanks
Dirk B.

This question has an accepted answers - jump to answer

Answers

  • colincolin Posts: 15,237Questions: 1Answers: 2,599
    Answer ✓

    They're mentioned in the docs here. All of the initialisation options are supported, you just need to split the camelcase with a -, i.e. pageLength becomes data-page-length,

    Colin

  • dirkbezdirkbez Posts: 2Questions: 1Answers: 0

    Thanks, the issue was not so much where the option/parameter has a single value e.g pageLength, when setting an option where the option takes an array/object eg. for searchCols.

    With a bit more trial and error, i got it working.

    Dirk B.

This discussion has been closed.