Redisplay hidden row after refresh
Redisplay hidden row after refresh
todd.bruner
Posts: 3Questions: 0Answers: 0
I have a table set up just like: http://datatables.net/examples/api/row_details.html
When a user clicks on the plus icon, a details row is added. In my particular case, user may perform some action in that detail area that necessitates a refresh of the data from the server. I currently do a fnDraw() and it updates the table as I want. It also closes the detail row. Is there a way to get dataTables to reopen it automatically? I'm thinking of storing the open "rows" in an array and "automatically" reopening them after the redraw. Before I do that though, is there something built in already that I've missed?
Thanks,
Todd
When a user clicks on the plus icon, a details row is added. In my particular case, user may perform some action in that detail area that necessitates a refresh of the data from the server. I currently do a fnDraw() and it updates the table as I want. It also closes the detail row. Is there a way to get dataTables to reopen it automatically? I'm thinking of storing the open "rows" in an array and "automatically" reopening them after the redraw. Before I do that though, is there something built in already that I've missed?
Thanks,
Todd
This discussion has been closed.