When a user clicks on a column header I want to be able to specify my own behaviour/method, when have a web service that we call to bring in the data, and to this we pass page and sort order etc.. Due to our application we can't simply bring all records into the UI then sort, even with UI virtualization.. In current setup its obviously only performing sorting on the current page.
Does xamDataGrid support this basic level of extensibility ? I've searched the docs and expect to find a typical .Net framework events system, however I've met a restrictive enum LabelClickAction?
LabelClickAction?
Can you expound upon this topic some more. I am not having any luck with using the LabelPresenter.
Thanks!
We don't currently have that capability baked in, we do offer this type of external sort capability in our wingrid but not yet in the XamDataGrid. In order to do what you want to do you would need to set the LabelClickAction to 'Nothing' and sort the DataSource yourself when the user clicks on a LabelPresenter. You would also need to provide a template for the LabelPresenter to show the sort indicators.