Best way to set row and column attributes

Best way to set row and column attributes

EricEric Posts: 24Questions: 0Answers: 0
edited August 2010 in General
I'm evaluating DataTables for use in my current project. I would be using server-side processing because of the large amounts of data. Currently I have several custom attributes defined for each row, and some columns. These are used to perform actions for a particular record.

What would be the best way using DataTables to set these custom attributes?

Replies

  • allanallan Posts: 63,498Questions: 1Answers: 10,471 Site admin
    fnRowCallback might be the best option: http://datatables.net/usage/callbacks#fnRowCallback

    Another way would be to manipulate the table on each draw (fnDrawCallback)

    Allan
This discussion has been closed.