In listView component data-bind issue

In listView component when loading data from remote if virtualization is enabled it won't bind data to the component

Tried Scenario: example of list view component with loading data using remote data is been used in the same virtualization related code is been included and tried to enable virtualization here where control fails to bind data to the component can you please help me out in this scenario

Below link is what we have tried up in this code spinet make enableVirtualization as true data will not load into the listView component 




1 Reply

SP Sowmiya Padmanaban Syncfusion Team April 3, 2020 01:10 PM UTC

Hi Sandeep,  
 
Greetings from Syncfusion support. 
 
We have checked your attached sample and found out the reported issue occur because the virtualization module is not injected properly in your sample. 
 
Refer the below code snippet. 
 
 <ListViewComponent id='sample-list' dataSource={this.dataSource}  enableVirtualization={true} > 
        <Inject services={[Virtualization]}/> 
        </ListViewComponent> 
 
 
Refer the sample link below. 
 
To know more about the Virtualization. Refer the below link.  
 
Refer the below links for ListView component. 
 
 
 
 
Please let us know, if you have any concerns. 
 
 
Regards,  
Sowmiya.P 


Loader.
Up arrow icon