Crazy Documentation: Frustrating, really!

Crazy Documentation: Frustrating, really!

PaulusPaulus Posts: 69Questions: 17Answers: 5

There is so much written and documented by it is really difficult navigating it.

Simply, where do I get the list of properties and methods of the DataTables.Editor.Field object?

I read here

https://editor.datatables.net/reference/type/DataTables.Editor.Field

still nothing, the link to API, links you to the method that will return the DataTables.Editor.Field object.

This question has accepted answers - jump to:

Answers

  • allanallan Posts: 63,836Questions: 1Answers: 10,518 Site admin
    Answer ✓

    Fair point - that is certainly a weak link which I will address.

    The options are those in the fields array for Editor initialisation.

    The methods are those in the Fields category of the API documentation.

    Thanks,
    Allan

  • PaulusPaulus Posts: 69Questions: 17Answers: 5

    Thank you. But unfortunately, methods like error(), which I found in preSubmit event sample is not listed in there.

    When deciding on the JS table library to use, the documentation of DataTable was well praised on StackOverflow, but it seems there is still a lot of work there.

  • allanallan Posts: 63,836Questions: 1Answers: 10,518 Site admin
    Answer ✓

    error() is not the same as fields().error() (although they are somewhat related).

    There is always work to do on documentation! Feedback is invaluable - thanks.

    Allan

This discussion has been closed.