Enable Virtualization Partially Working

Hi,



When I add enable virtualization to sfgrid, when I scroll down the scrollbar, a white page appears. Do I need to add anything else to be able to use Virtualization?


I looked through your document but couldn't find anything like that.


Thanks in advance.



1 Reply

NP Naveen Palanivel Syncfusion Team May 18, 2023 12:53 PM UTC

Hi Mustafa ,

Greeting from Syncfusion Support.


Based on your query,  we suspect when virtualization  and height is set as 100% which causes the  scroll down the scrollbar, a white page appears . we would like to inform you that the Height value must be static in order to enable the Virtualization feature in Grid. If you want to define the height as a percentage. Then, the grid element's immediate parent element has a static value.


Reference : https://blazor.syncfusion.com/documentation/datagrid/virtualization



 

<div style="height:calc(100vh - 7rem);">

    <SfGrid DataSource="@GridData" Height="100%" EnableVirtualization="true">

    <GridColumns>

           </GridColumns>

</SfGrid>

</div>



Please let us know if you have any concerns.


Regards,

Naveen Palanivel


Loader.
Up arrow icon