Custom cell content...
Custom cell content...
sleepingtiger
Posts: 13Questions: 8Answers: 0
I see that the render method works well with a string ... But what if i return a jQuery object/or any complex object?
In summary, how do i add say a button into a column cell which has handlers ... a click handler, etc.
This discussion has been closed.
Answers
Check out this example.
http://datatables.net/examples/api/row_details.html
Currently no I'm afraid - the
columns.render
option cannot return a node. That is something I would like to add in future, but it introduces a lot of complexity :-)Two options:
columns.createdCell
to add the event listener.Regards,
Allan