How access item data during row render?
How access item data during row render?
tenotu
Posts: 1Questions: 1Answers: 0
var userTable = dataTableUsers.DataTable({
data: dataSet,
columns: [
{title: 'Status',
defaultContent: '
here i must render button, text, that depends on item(user) status
'},
...
Rendering table item field (td) depends on users status, docs are too big to find something there.
This discussion has been closed.
Answers
Hi @tenotu ,
It would be best to use
columns.render
, or possiblycreatedRow
, and notdefaultContent
. There's examples on those pages that will get you going,Cheers,
Colin