FlexGrid scrolling skips large range of cells

Posted by: rashaine.johnson on 9 November 2017, 2:32 am EST

  • Posted 9 November 2017, 2:32 am EST

    I encountered 2 issues with FlexGrid, both are demonstrated in this example. http://jsfiddle.net/qu92whd5/

    1. FlexGrid._getMaxSupportedCssHeight() doesn’t work correctly in certain conditions. In my example it concludes that the max height is 1M px when it should be 33M px. Removing the height property from the body or html elements results in the correct calculation. Perhaps the test container should be positioned absolutely?

    2. Scrolling grids that extend beyond the “max support css height” results in large segments of cells beings skipped. In the example, attempting to scroll vertically when the end range is at row ~180 results in the table being scrolled to row ~19000. I believe this is related to the offsetY calculation in FlexGrid.prototype._updateContent()

  • Posted 9 November 2017, 11:11 pm EST

    Hi,

    We are able to replicate the issue at our end the first issue and it seems a bug. We will forward this to the concerned team for further investigation after the second issue testing.

    If we scroll into the FlexGrid, we are unable to replicate the issue at our end. Could you please elaborate your requirement with steps to replicate the issue which would be helpful in investigation.

    ~Manish

  • Posted 14 November 2017, 5:43 am EST

    Step 1) Scroll to row 180

    Step 2) Attempt to scroll to row 300.

    You will notice that slowing scrolling will jump to row ~19000 skipping all the rows in between.

  • Posted 14 November 2017, 4:21 pm EST

    Hi,

    Thank you for notifying this issue and steps to replicate second issue.

    We have forwarded to the concerned team for further investigation with tracking id 297279.

    We will let you know as we get any update on this.

    ~Manish

  • Posted 18 November 2019, 8:30 pm EST

    Hi,

    This issue has been fixed in the latest build 2019v3.637:

    Please refer to the following demo sample for reference:

    http://jsfiddle.net/qu92whd5/

    Regards,

    Manish Gupta

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels