I have a DataGrid that load items using the LoadOnDemand manual approach. When there aren't any items to add how can I hide/disable the "Load more" button.
Thank you for your interest in Telerik UI for Xamarin controls.
You would need to switch to Automatic LoadOnDemand mode when there are any more items to load. This could be achieved by binding LoadOnDemandMode to a property in the ViewModel and update it through a LoadMoreData Command. In the Command you would need to implement some logic to check whether there are more items to load. I have attached a sample example to demonstrate how exactly this would work. Please download the attachment and give it a try.
Let me know if you have any additional questions or concerns.
Regards,
Yana
Progress Telerik
Do you want to have your say when we set our development plans?
Do you want to know when a feature you care about is added or when a bug fixed?
Explore the
Telerik Feedback Portal
and vote to affect the priority of the items