Creating a table within a table
Creating a table within a table
Two part quick question:
Is it possible to render a HTML object inside a datatable cell such as a HREF tag or a
<TABLE><TR><TD>MyValue</TD></TR></TABLE>
Also, is it possible to create a new editable table (rather than editing itself) using https://datatables.net/examples/api/row_details.html
We have a new project coming up and I'm hoping these are possible with the current version.
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
1) Yes - you can put any valid HTML you want inside a DataTable cell.
2) Yes - you need to create a new DataTable and Editor instance for the inner table, which is quite possible to do in your callback to create the child row.
Allan
Outstanding. Thanks very much.