Author Topic: H Scroll is too slow with 1200 rows  (Read 3266 times)

ONEITSS

  • Pro Deluxe
  • Newbie
  • *
  • Posts: 27
    • View Profile
H Scroll is too slow with 1200 rows
« on: October 06, 2016, 07:53:58 pm »
Hi,
we have 20+ columns and 1200 rows, we are loading all without paging that is client requirement. when user move right it is taking long time to move.

is there any prop need to enable/disable for huge size rows with H scroll.

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6265
    • View Profile
Re: H Scroll is too slow with 1200 rows
« Reply #1 on: October 06, 2016, 08:23:25 pm »
Virtual rendering is the way to make it fast.

Does it have any slow/ time consuming column.render callbacks which can slow down the scrolling speed.

ONEITSS

  • Pro Deluxe
  • Newbie
  • *
  • Posts: 27
    • View Profile
Re: H Scroll is too slow with 1200 rows
« Reply #2 on: October 06, 2016, 11:52:07 pm »
No slow columns there, if i use 100 paging then it is faster moment

can you provide more info regarding Virtual rendering

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6265
    • View Profile
Re: H Scroll is too slow with 1200 rows
« Reply #3 on: October 07, 2016, 03:53:16 pm »
In virtual mode, grid displays or renders only the rows and columns which fit in its scrollable viewport. It's the virtual mode that empowers grid to display unlimited rows and columns. It can be enabled simply by setting the options virtualX ( for columns virtualization ) and virtualY ( for rows virtualization ) to true.

ONEITSS

  • Pro Deluxe
  • Newbie
  • *
  • Posts: 27
    • View Profile
Re: H Scroll is too slow with 1200 rows
« Reply #4 on: October 07, 2016, 09:05:02 pm »
Thank you, is there anyway while enabling virutalY and set number of rows to display.

i enabled virtualY:true and given height has 440 but is showing half size of grid only.

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6265
    • View Profile
Re: H Scroll is too slow with 1200 rows
« Reply #5 on: October 07, 2016, 10:02:15 pm »
No of rendered rows in viewport can be affected by change in rowHeight option.

http://paramquery.com/pro/api#option-rowHeight

ONEITSS

  • Pro Deluxe
  • Newbie
  • *
  • Posts: 27
    • View Profile
Re: H Scroll is too slow with 1200 rows
« Reply #6 on: October 07, 2016, 10:20:35 pm »
Thank you it worked