What is the best way to preset some data and make it available even when not rendered yet?
What is the best way to preset some data and make it available even when not rendered yet?
rognales
Posts: 8Questions: 3Answers: 1
What is the best way to preset some data and make it available even when not rendered yet?
Using rowCallback
only set the values on loaded records. Same goes for createdRow
. From docs, both are related to rendered data. Similar to checking a checkbox.
Basically, i want to get selected row(s)~~~~. My source for selecting row can be from ajax
or from onClick handler on tbody>tr[role="row"]
This discussion has been closed.
Answers
Hi @rognales ,
You can use
cell().render()
to get the rendered data, orcell().data()
to get the underlying raw data. Hopefully that'll do the trick,Cheers,
Colin