admin管理员组

文章数量:1344321

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.

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.

Share Improve this question edited Sep 4, 2013 at 13:03 Pavlo 45k14 gold badges83 silver badges114 bronze badges asked Sep 4, 2013 at 13:01 Ajax3.14Ajax3.14 1,6955 gold badges24 silver badges42 bronze badges 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? – Davin Tryon Commented Sep 4, 2013 at 14:24
  • @DavinTryon yes, I meant not building the entire DOM and just building for the current user's view-port. – Ajax3.14 Commented Sep 4, 2013 at 15:16
  • 1 Then, yes, it supports both row and column virtualization. – Davin Tryon Commented Sep 4, 2013 at 15:28
Add a ment  | 

1 Answer 1

Reset to default 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.

本文标签: javascriptDoes nggrid support virtual scrollingStack Overflow