Setting the grid height in '%' does not seem to work. The grid renders with a height enough to display the number of records per page as specified/default number. As a result there is also no vertical scrollbar. In my case, the parent container div also has height in '%'. But setting the grid height in 'px' works and the vertical scrollbar also shows if there are 'too many' records to display.
I do not want to use 'px' but '%' . Is there another way to achieve it?
Thanks
B.
Hello,
Thank you for contacting us.
Vertical scroll in IgxGrid depends on the grid height, rowHeight and the number of records in your data source. If its necessary to set the height '%' in order to enable virtualization the number of records that you have in the grid and their rowHeight have to exceed the height the grid. Here you can read more detailed explanation about how the virtualization works and here you can see more information about the grid properties.
If you need any further assistance, please contact us.
Thank you .
I am not looking at virtualization at the moment. All I want to do is to enable vertical scroll in IgxGrid and setting the height in %. As I mentioned, setting the grid height in % does not seem to affect the how the grid renders.Only height in pixels really work.