Attaching data to each row DOM?

Attaching data to each row DOM?

cocococo Posts: 1Questions: 0Answers: 0
edited June 2010 in General
I'd like to attach extra data (an array structure) to each row DOM to be accessed later.

How can I do this?

Replies

  • keturnketurn Posts: 18Questions: 0Answers: 0
    Ah, I think I found some direction for this. See the example for fnRowCallback, you can register a callback which receives each row node and its array data: http://www.datatables.net/examples/advanced_init/row_callback.html
This discussion has been closed.