Hi,
I'm getting my data for the GridView from an xml-document, and I'm binding it to the grid just as in the demo-application (in the GetXmlData() method).
However, I cannot seem to figure out how to rebind/refresh the grid programatically.
This is how I've done it so far:
Absolutely nothing happens though. I'm sure I'm missing something obvious, but what?
I'm getting my data for the GridView from an xml-document, and I'm binding it to the grid just as in the demo-application (in the GetXmlData() method).
However, I cannot seem to figure out how to rebind/refresh the grid programatically.
This is how I've done it so far:
radGridViewDataBinding.FilterDescription = null; |
radGridViewDataBinding.GroupDescriptions.Clear(); |
radGridViewDataBinding.SortDescriptions.Clear(); |
radGridViewDataBinding.Columns.Clear(); |
radGridViewDataBinding.AutoGenerateColumns = true; |
radGridViewDataBinding.ItemsSource = null; |
radGridViewDataBinding.ItemsSource = GetXmlData(); |
Absolutely nothing happens though. I'm sure I'm missing something obvious, but what?