This topic contains 3 replies, has 2 voices, and was last updated by ales 9 years, 3 months ago.
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic.
jQuery UI Widgets › Forums › Grid › Empty rows in virtualmode when totalrecords smaller than count of visible rows
Tagged: ag grid, angularjs grid, grid.js, jquery grid, jqwidgets, jqwidgets grid, jqxgrid, js grid
This topic contains 3 replies, has 2 voices, and was last updated by ales 9 years, 3 months ago.
Hi,
suppose there is a grid running in virtualmode and able to display 14 rows. Sometimes the data sent from server contains only a few rows, for example 2 rows. The source.totalrecords is set to 2, but the grid displays all 14 rows (12 of them empty). What should be done to display only those 2 rows?
See example http://jsfiddle.net/g4ztdgjf/1/
Thank you for any hints.
Ales
Hi Ales,
It will display empty rows in the virtual mode if the rows height is less that the View. That’s how jqxGrid works in Virtual mode.
Best Regards,
Peter Stoev
jQWidgets Team
http://www.jqwidgets.com/
Hi Peter,
thank you for your reply. Would it be hard to change the behavior not to display empty rows in such case? It seems strange when mixing grids with virtual and non virtual mode in one application (sometimes there is empty space and sometimes empty rows). I can use only virtual mode with all the grids in the application, but the empty rows are not good from the user experience point of view. Users tend to click to the empty rows and ask what are they for. It is simply confusing. What do you think?
Ales
Hi Peter,
what do you think about my previous post?
Thanks, Ales
You must be logged in to reply to this topic.