Data Loaded Event?

Is there an event for the list view that will fire when the data has been loaded and I can programmatically select or check list items?

I am using angular async pipe.

thanks!

1 Reply

CI Christopher Issac Sunder K Syncfusion Team October 30, 2018 05:10 AM UTC

Hi Tony, 

Thank you for contacting Syncfusion support. 

EJ2 Listview component will fire "actionComplete" event when the data has been loaded. You can pro-grammatically select an item by utilizing "selectItem" method in the listview. For example, you can pass the id of an item to "selectItem" method will select the item in the listview. For pro-grammatically check an item you can utilize "checkItem" method. 


 
this.listObj.selectItem({ id: this.dataSource[0].id });

this.listObj.checkItem({ id: this.dataSource[0].id }); 

Also, Check out our EJ2 ListView documentation Here

Please let us know if you need further assistance. 

Thanks,
Christo


Loader.
Up arrow icon