Row Length Menu

Row Length Menu

niksa.blonderniksa.blonder Posts: 4Questions: 2Answers: 0

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

  • kthorngrenkthorngren Posts: 22,365Questions: 26Answers: 5,137

    The datatable docs show a config property that can be used to set the Datatable options like lengthMenu.

    Kevin

  • allanallan Posts: 65,413Questions: 1Answers: 10,861 Site admin

    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 datatable field type.

    Allan

Sign In or Register to comment.