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
1 Answer
Reset to default 12Yes, 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
版权声明:本文标题:javascript - Does ng-grid support virtual scrolling? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1743768915a2535759.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论