Child row open on page load
Child row open on page load

Hi,
Is it possible to set a child row expanded based on the ID or index of the row (given in a variable)
Peter
This discussion has been closed.
Hi,
Is it possible to set a child row expanded based on the ID or index of the row (given in a variable)
Peter
Answers
Yes, you can use either
initComplete
or theinit
event to open the child row after the Datatable is loaded. You can use the row index or ID (if you haverowId
option set) to select the row usingrow-selector
. Here is an example that uses the row index:http://live.datatables.net/beforate/1/edit
Kevin