Can `Scroller` and `Child row` use it together?

Can `Scroller` and `Child row` use it together?

bleungAtDisplayDatableungAtDisplayData Posts: 2Questions: 2Answers: 0
edited July 2023 in Free community support

Link to test case:
- https://jsfiddle.net/ycumjoaz/
- with measure https://jsfiddle.net/ycumjoaz/1/

Description of problem:
I copied a example from Scroller and Child Row but it would jump to wrong row after it fetch new data

Step & behavior:
I expand 5 rows, id: 0, 1, 2, 3, 4
and scroll down a little bit
then it fetch some new row,

before it fetch, the table shown id 3-6
after it fetch, it jump to id: 27-31

Remark:
I think after table expaned, it haven't recalculate a row height, this make it get a wrong "Showing x to y of z entries", so it jump to wrong row

but I tried call table.scroller.measure(false);, it better but doesn't help.

This question has an accepted answers - jump to answer

Answers

  • colincolin Posts: 15,240Questions: 1Answers: 2,599
    Answer ✓

    That's not supported I'm afraid, as shown in the compatibility chart, those two features don't play nicely together due to the calculations for the row height.

    Colin

Sign In or Register to comment.