get minimum and maximum values of particular column

get minimum and maximum values of particular column

premkumarpremkumar Posts: 9Questions: 0Answers: 0
edited September 2012 in General
I want to get minimum and maximum values of particular column which contains price list. These min and max values will be used in range filter.

Replies

  • fabianmossbergfabianmossberg Posts: 1Questions: 0Answers: 0
    Did you manage to find a way to do this?
  • allanallan Posts: 63,516Questions: 1Answers: 10,473 Site admin
    Use the fnGetColumnData plug-in which gives you an array of column data and then just loop over it.

    DataTables 1.10 will include a much nicer way of doing this (for anyone reading this once v1.10 has been released).

    Allan
This discussion has been closed.