Row Length Menu
Row Length Menu
in Editor
Does Datatables Editor edition have option for changing the number of rows in an editable datatable? Specifically something like lengthMenu: [10, 25, 50, -1] does not seem to exist.
Answers
The
datatabledocs show a config property that can be used to set the Datatable options likelengthMenu.Kevin
Interestingly I've ready your question a little differently from Kevin - I'm wondering if you want to have a length menu in a Editor based table (where the length menu is replaced by the Buttons in many cases). If so, have a look at this FAQ.
What to remember here is that Editor is an addon to DataTables. You can configure the DataTable as normal, and Editor is effectively a layer on top of that.
Apologies if I've misunderstood as you are talking about the
datatablefield type.Allan