Grid doesn't show data when using virtual scrolling and WebApiAdaptor

Hello, as mentioned in the title, I try to use WebApiAdaptor with the Blazor Grid component. It works successfully when I use paging.
However if I set EnableVirtualization="true" then all rows in the grid remain empty. When editing any 'empty' row using EditMode.Dialog, the data is presented in the dialog, so reading from DB still works. But nothing is visible in rows of the grid.
I use Syncfusion.EJ2.Blazor ver 17.4.0.55.
Is it possible to use properly WebApiAdaptor with virtual scrolling in a Grid?
Below there are parts of the grid definition.
Best regards

        <EjsGrid @ref="DefaultGrid" TValue="IdnumbersPlusCustomer"
            AllowSorting="true" AllowMultiSorting="true"
            AllowResizing="true" AllowFiltering="true"
            AllowExcelExport="true"
            ShowColumnChooser="true" Toolbar="@( new List<string>() {"Add", "Edit" ,"Delete","Update","Cancel", "ColumnChooser" })"
            GridLines="GridLine.Both"
            EnableVirtualization="false"
            AllowPaging="true"
            Height="410" Width="auto"
            Query="@myQuery">
     
          <EjsDataManager Url="/api/ApiIdnumbers" Adaptor="Adaptors.WebApiAdaptor"></EjsDataManager>
....

@code{
             Query myQuery = new Query().AddParams(MyUtils.query_SQLDbLogin1_ServerName, SQLDbLogin1.ServerName);



3 Replies

RN Rahul Narayanasamy Syncfusion Team April 7, 2020 12:25 PM UTC

Hi Andrzej, 
 
Greetings from Syncfusion. 
 
Query: Grid doesn't show data when using virtual scrolling and WebApiAdaptor 
 
We have validated your query and we are able to reproduce the reported problem in the mentioned version. We suggest you to upgrade to our latest version to resolve the problem you are facing. Please find the breaking changes for the latest version.  
 

Please get back to us if you need further assistance. 

Regards, 
Rahul 
 



AN Andrzej April 7, 2020 12:41 PM UTC

Thanks for the info. I will upgrade to ver 18.


RN Rahul Narayanasamy Syncfusion Team April 8, 2020 05:23 AM UTC

Hi Andrzej, 

Thanks for the update. 

We will wait to hear from you. Please get back to us if you need further assistance. 

Regards, 
Rahul 


Loader.
Up arrow icon