Using the aLengthMenu drop down with Editor?

Using the aLengthMenu drop down with Editor?

VirtuallazyVirtuallazy Posts: 4Questions: 0Answers: 0
edited October 2013 in Editor
I'm trying to create a table with DataTables editor, however I can currently only have either the drop down menu for aLengthMenu or the Create/Edit/Delete buttons from Editor. Is there a way to have both of these on the same table?

Replies

  • allanallan Posts: 63,532Questions: 1Answers: 10,475 Site admin
    In your sDom you need to have both the `T` for the TableTools buttons in the table initialisation, and the `l` option for the length menu. What does your sDom option currently look like?

    Allan
  • VirtuallazyVirtuallazy Posts: 4Questions: 0Answers: 0
    It originally looked like

    [code] "sDom": "Tlfrtip" [/code]

    But I literally just found the example on editor where it says to use

    [code] "sDom": 'T<"clear">lfrtip' [/code]

    And it seems to be working now
This discussion has been closed.