aLengthMenu custom

aLengthMenu custom

pakypaky Posts: 106Questions: 0Answers: 0
edited October 2012 in General
Ho can add elements in aLengthMenu array ? Can I write:
[code]
aLengthMenu: [[10, 25, 50, -1, -2, -3, -4], [10, 25, 50, "All", "AllReds", "AllBlues", "AllGreen"]]
[/code]

Replies

  • allanallan Posts: 63,534Questions: 1Answers: 10,475 Site admin
    edited October 2012
    Yes. See the aLengthMenu documentation. Note that -1 is a special value. -2 etc have no meaning to DataTables.

    Allan
This discussion has been closed.