angular-ui/ui-grid

ui-grid not show all data until scroll

Open

#6,386 建立於 2017年9月1日

在 GitHub 查看
 (2 留言) (0 反應) (0 負責人)JavaScript (2,496 fork)batch import
help wantedneeds: analysis

倉庫指標

Star
 (5,395 star)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

i have ui-grid in popup window with "ui-grid-auto-resize" and it bind to 30 row in initial loading and grid default height is "300px" it show 14 row and when i scroll to the last row it seem that it loading the remain data on scrolling. i have post action on controller when i bind the data on it grid data is equal to "null" if only i scroll the grid and set to the first 15 rows if i not scroll the grid. when i watch the formcollection of form form read last 15 rows of data when grid scrolling with index begin with 15. i set the height of grid to amount of row using javascript and it work fine and grid data bind to control action correct. but i need scroll inside the gird because it's inside popup window and height of grid exceed window size

貢獻者指南