Row underneath--similar to the hidden row details example
Row underneath--similar to the hidden row details example
I'm looking at this example:
http://datatables.net/release-datatables/examples/api/row_details.html
My data looks something like this:
http://fiddle.jshell.net/Lw9Up/3/show/
The last column will usually be empty. I want all of the extra rows to always be visible without requiring a click.
I think what I essentially need is mRender that runs on the row instead of the column. I'm running 1.10 if that helps any.
http://datatables.net/release-datatables/examples/api/row_details.html
My data looks something like this:
http://fiddle.jshell.net/Lw9Up/3/show/
The last column will usually be empty. I want all of the extra rows to always be visible without requiring a click.
I think what I essentially need is mRender that runs on the row instead of the column. I'm running 1.10 if that helps any.
This discussion has been closed.
Replies
Just run fnOpen in the draw callback ( fnDrawCallback ) rather than in a click event handler then.
Allan
http://live.datatables.net/aRaT/1/
Allan
[quote]This function is called on every 'draw' event[/quote]
Since I need it to run on every row and not once on the table I thought that would be a better fit.
But using the $.each function is easy enough. The fnGetData function is handy; $(this).find('blah') also would work.
Thanks so much for your help Allan.