Render JQuery object in Datatable Cell
Render JQuery object in Datatable Cell

Hi,
Could you please confirm if it possible to render a JQuery object like a toggle button in a DataTable cell?
I tried to use the followinf code, however the result is not the same as outiside of DataTable object.
Adding a new row in the cliend side to an existing DataTable:
[code]
oTable.fnAddData
(
[
'TTT',
'Luz Tecto Cozinha Added',
'OffOn'
]
);
[/code]
Could you please confirm if it possible to render a JQuery object like a toggle button in a DataTable cell?
I tried to use the followinf code, however the result is not the same as outiside of DataTable object.
Adding a new row in the cliend side to an existing DataTable:
[code]
oTable.fnAddData
(
[
'TTT',
'Luz Tecto Cozinha Added',
'OffOn'
]
);
[/code]
This discussion has been closed.
Replies
Yes, just feed DataTables the HTML rather than the jQuery object. DataTables does not currently auto detect jQuery objects.
Allan