(sort only loaded data or when TotalItemCount <= loaded items)
3 Answers, 1 is accepted
Actually, the collection will not invoke sorting the data itself - it will just call ItemsLoading event where you should sort and load the data from the server. To achieve the goal you can simply not call the server depending on desired condition or use a separate collection as a client-side storage, load the data in this collection and use it instead the server when all data are already loaded.
Hopefully this helps.
Dimitrina
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.
Now when i want change dynamically grid source (when _loadSize < Query items count use QueryableCollectionView else VirtualQueryableCollectionView) then i found bug in your code (attached image).
This is indeed what happens. Have you tried loading client side data as the ItemsLoading event is raised?
As it turns out there is not another approach I can suggest.
Regards,
Dimitrina
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.