I've found this example for "Load on Demand - loadTrigger: auto" at: https://www.igniteui.com/grid/load-on-demand.
In the link they bind the static datasource, Is there anyway to bind the custom dynamic datasource before grid auto trigger everytime? Like when I scrolling the grid then call my service to get the dynamic data then igGrid bind my dynamic data to the grid
Thank you.
Hello Kwang,
It's possible to bind igGrid LoadOnDemand to remote data source as long as the data source supports remote paging. For example you can bind it to oData service or you can use Grid MVC helper wrapper.
If you're using your own custom data source then you should parse the igGrid request parameters and process the paging yourself.
Attached you can find a sample which binds igGrid LoadOnDemand to a remote oDate service.
Best regards,Martin PavlovInfragistics, Inc.
Hello,
I am using MVC helpers to configure igGrid.
When I configure LoadOnDemand for Grid in following way, I do not see Type available. I need to set the type to remote.
feature.LoadOnDemand().ChunkSize(10).LoadTrigger(LoadTrigger.Button).Type (OpType.Remote);
PLease help
Thanks,
Rajesh