Server side processing using scroller and row details
Server side processing using scroller and row details
ezzkht
Posts: 3Questions: 1Answers: 0
I just applied the scroller add-on to the datatables with a server-side data loading. Everything is working fine until the moment I click a row to open the details (child rows row details). The data is loaded from the server too early (like it depends on the total height of all rows and not considering the height of the row that has its child rows visible.
Any clues or workarounds?
Thanks in a advance.
This question has accepted answers - jump to:
Answers
Scroller and Child Rows aare not supported together. See the Compatibility Chart for details.
Kevin
@kthorngren will you suggest any wrokaround for this problem, am also facing similar issue?
The compatibility matrix states this about the incompatibility of Scroller an child rows:
For Scroller to work properly other elements like child detail rows can't be inserted into the table. Sorry there is no work araound.
Kevin
I see.. it's not compatible
Changing the row height of the scroller whenever user expands/collapses a row, is it a good idea?
I'm not sure if you are asking if what we are doing is correct, or if using child rows at all is a good idea?
Certainly, if you inject something like a child row into the table, then the calculations that Scroller must perform are out of the window (which is why they aren't compatible).
Perhaps you could show the details in a modal rather than a child row?
Allan
Thank you all for the help.
We have changed the behavior to a popup instead of sub-row.