This question is locked. New answers and comments are not allowed.
I’ve got a RadDataGrid with its ItemsSource set through binding.
In its Commands section it has a custom command whose Id is set to CommandId.DataBindingComplete. This is fine, and the command gets executed when the control is first loaded and the binding is finalized.
But any subsequent update of the binding source data does not cause this command to fire.
What I am trying to achieve is having all the groups collapsed when the data is loaded.
As mentioned above, this works the first time, but if the data is refreshed after the control has already been loaded all the groups are shown expanded.
How can I have the collapsed?
In its Commands section it has a custom command whose Id is set to CommandId.DataBindingComplete. This is fine, and the command gets executed when the control is first loaded and the binding is finalized.
But any subsequent update of the binding source data does not cause this command to fire.
What I am trying to achieve is having all the groups collapsed when the data is loaded.
As mentioned above, this works the first time, but if the data is refreshed after the control has already been loaded all the groups are shown expanded.
How can I have the collapsed?