Hide/Show row detail with static data
Hide/Show row detail with static data
Hi,
I need some help setting up my row detail example. I have a working version from http://datatables.net/examples/api/row_details.html, but would like to modify that a) on every load the table shows always the details and b) have the detail data somewhere in my html.
I don't want to put an XHR in place to fetch row details, but would simply reuse existing page, e.g. use cell 4-7 as detail or use every second row as detail.
Any hints?
Thanks.
I need some help setting up my row detail example. I have a working version from http://datatables.net/examples/api/row_details.html, but would like to modify that a) on every load the table shows always the details and b) have the detail data somewhere in my html.
I don't want to put an XHR in place to fetch row details, but would simply reuse existing page, e.g. use cell 4-7 as detail or use every second row as detail.
Any hints?
Thanks.
This discussion has been closed.
Replies
b. Read the information from wherever you have it in the DOM and pass it in as the second argument to fnOpen.
Allan