Hi,
We have used IgGrid and igHierarchical grid with virtualization in our project, we are encountering UI issue when there is minimal number of records.
i.e say the grid size is some 500px and when we bind data which has only one row, then the row length is getting set/expanded to the available height of the grid.
Thanks,
Kiran
Hi Denis,
For now I think we are good as I have implemented your first solution provided. If I need anything more on this will get in touch with you.
Kiran Kumar L
Hello,
I am just following up to see if you need any further assistance with this issue. If so please let me know.
Hello Kiran,
What you are trying to achieve is limitation by design. Please refer to the following.
"In an igGrid with only a few data rows, all igGrid rows receive expanded height. This is because the sum of the rows’ heights has to match the grid’s height."
If I may be of any further assistance please let me know.
Based on the scenario the same grid can hold different number rows. I need to have continuous mode enabled for the cases where large number of rows come into the grid.
Also in few grids the styling for few cells/rows differ based on conditions.
I suggest you using fixed row virtualization if you have concerns about having one row and the expanding r to grid height. When you use continuous mode the grid loads another portion of rows, which are sized to fit to the grid, and because you have only one row it being is sized to fit to the grid height.
If you have any additional questions feel free to contact me.