Does ng-grid support virtual scrolling?
Asked Answered
R

1

5

I wanted to use Slickgrid for the grid functionality in my app but since I am using AngularJS for the most part i thought that ng-grid is the way to go but not sure whether it supports virtual scrolling (I tried to look into their documentation and did not find any thing about virtual scrolling support). It would be great if some one could also enlighten me the pros and cons using ng-grid vs slick grid if possible.

Record answered 4/9, 2013 at 13:1 Comment(3)
By virtual scrolling do you mean not building the entire DOM (for many, many rows); Or, do you mean querying for more data when you are at the bottom of your current data set?Scholl
@DavinTryon yes, I meant not building the entire DOM and just building for the current user's view-port.Record
Then, yes, it supports both row and column virtualization.Scholl
S
12

Yes, ng-grid supports row virtualization. You can see in the grid configuration options that there is a setting for virtualizationThreshold that is set to 50 by default.

Scholl answered 4/9, 2013 at 15:32 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.