Using array of objects with layout option does not appear to work.
Using array of objects with layout option does not appear to work.
Link to test case: https://live.datatables.net/reriyupe/3/edit
Debugger code (debug.datatables.net):
The debugger code produced an error "Cannot read properties of undefined (reading 'sVersion') DT_Debug.js?rand-1708278425857:512
Error messages shown:
DataTables warning: table id =xxx - Unknown feature undefined
Description of problem:
When creating an array of objects under topStart the error occurs. The documentation at https://datatables.net/reference/option/layout applies this should work (under object it encourages you to use an array of objects). An array of strings seems to work fine, but doesn't allow for easy customization.
Answers
Thank you for the test case. I'd agree, that should indeed work. I will look into this (if not tomorrow, then Tuesday) and get back to you.
Allan
Fixed committed and it will be in 2.0.1 which I'll drop tomorrow or Wednesday.
Allan
Awesome. Amazingly quick. Very appreciated!
@allan Not pushing you, but any ETA on when 2.0.1 will drop? I don't see it on NPM yet.
A few other things have popped up that I want to get in as well. Hoping that I'm working on the last one at this very moment. It should be soon
Allan