Is there a way to automatically expand the row when using the Responsive Extension?
Is there a way to automatically expand the row when using the Responsive Extension?
adromil
Posts: 53Questions: 4Answers: 0
I have tried the Responsive Extension and I have been wondering if there is a way to automatically expand the row dataTable is in responsive design so that users don't have to click or tap the corresponding control object assigned.
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Not built in, but you could listen for the
column-visibility
event and trigger the child rows to be shown when the table is collapsed.Nice idea for a future enhancement in the code though. I'll add it to the list :-)
Allan
Hi Allan,
Thank you for your usual prompt response, I have posted a question just right now,
http://www.datatables.net/forums/discussion/22583/how-to-get-total-rows#latest
asking how to get the total rows to replicate the function:
which I created using the row_details API example.
Your inputs is much appreciated.
Best regards
In addition, using oTable.length API doesn't return the correct number of row in the table, I am also using a server-side source for the dataTables to render.
Thank you very much
Use
page.info()
.Allan