This question is locked. New answers and comments are not allowed.
Hi,
I'm running into an issue with the gridview. I have been able to reproduce it with your sample code.
Change the CustomHierarchy.Example.cs file as follows:
Set the number of records to 50 in the following statement:
Then replace the RestoreButton_Click event as follows:
this.radGridViewCustomHierarchy.ItemsSource = null; (Essentially when there are no records the error occurs).
Run the example and when the data has loaded, press the scrollbar to scroll down. Then press the Restore button (which should clear the grid). The application crashes due to an index issue.
In my code, I have the grid bound to an Observable collection.
Thanks
Chris
I'm running into an issue with the gridview. I have been able to reproduce it with your sample code.
Change the CustomHierarchy.Example.cs file as follows:
Set the number of records to 50 in the following statement:
this
.radGridViewCustomHierarchy.ItemsSource = ExamplesDB.GetOrders().Take(18);
Then replace the RestoreButton_Click event as follows:
this.radGridViewCustomHierarchy.ItemsSource = null; (Essentially when there are no records the error occurs).
Run the example and when the data has loaded, press the scrollbar to scroll down. Then press the Restore button (which should clear the grid). The application crashes due to an index issue.
In my code, I have the grid bound to an Observable collection.
Thanks
Chris