get sorted jquery data table data

get sorted jquery data table data

ajinkyakpajinkyakp Posts: 5Questions: 0Answers: 0
edited April 2013 in General
oDataTable.getNodes() doesnt return the sorted rows .Before sorting it returns proper rows but after soring on particular column it doesnt return the proper data .

Can some one please help me with this I am stuck at this point.

Thanks in advance !

Replies

  • allanallan Posts: 63,516Questions: 1Answers: 10,472 Site admin
    Use the _ method: http://datatables.net/docs/DataTables/1.9.4/DataTable.html#_

    Allan
  • ajinkyakpajinkyakp Posts: 5Questions: 0Answers: 0
    Thanks Allan,
    but i need data as HTMLTableRowElement same as fngetNodes() as i will using this row element to get the next and previous for that row element.

    Any idea how that can be achieved?
  • allanallan Posts: 63,516Questions: 1Answers: 10,472 Site admin
    Ah - you mentioned the data in the title which I way I suggested the `_` method. For the nodes use the `$` method.

    Allan
This discussion has been closed.