Flexgrid - PureJS - Show the correct scroll-position number of rows are known

Posted by: daryn.holmes on 2 October 2017, 12:38 pm EST

  • Posted 2 October 2017, 12:38 pm EST

    Hi,

    We need to handle over 100 000 rows of data.

    We know how many rows there are from the start. We want to fetch "pages" of data when the user scrolls. We have seen the infinite scroll example, however that is not exactly what we want.

    We would like to show a fixed height scroll bar, which is always correctly positioned relative to the height of all the rows - as if we had fetched all the data.

    Do you have any demos showing how this can be done?


  • Replied 3 October 2017, 10:30 am EST

    Hi,

    Do you need something like this? Refer Paging section on this page:

    http://demos.wijmo.com/5/PureJS/FlexGridIntro/FlexGridIntro/

    ~nilay
  • Replied 7 October 2017, 9:23 am EST

    Hi,

    Sorry but we don't want pagination. We want something similar to the infinite scroll example: http://jsfiddle.net/Wijmo5/hwr2ra1q/

    However we don't want the "draggable thumb" to jump - as it does in that demo. We wan't it to have the correct hight. As the user scrolls down, we will load more data.

    Thanks
  • Replied 10 October 2017, 12:49 am EST

    Hi Daryn,
    We are sorry for the late reply.

    The scroll thumb height gets adjusted as per the number of records in FlexGrid. Hence, could you please let us know how you are going to load data in FlexGrid for infinite scroll.

    ~Manish Kr Gupta
Need extra support?

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

Learn More

Forum Channels