Validate domTable is actually a data table

Validate domTable is actually a data table

paulhickmanpaulhickman Posts: 21Questions: 1Answers: 0
edited February 2013 in Editor
Could you add a validation check that the selector provided in domTable actually resolves to a data table. I had a typo in the ID of the element in my selector, and the net result was that the editor turned the element I did provide into a datatable with no settings and then crashed out after submitting a form because it fnSettings() was returning null. This took quite a while to track down.

Replies

  • allanallan Posts: 61,665Questions: 1Answers: 10,096 Site admin
    Sounds like a good idea. Thanks for bringing this up. I'll add it int he next Editor release.

    Allan
This discussion has been closed.