I have a RadGridView that has data in it, and I apply a filter to the column with the Filter1 component.
For example, I have a string column type, and I add the filter 'Not Equal To Foo'
All works fine. I save the filterdescriptors when I close the application. When I open the application the next time, the data collection is empty, but the saved filter is applied.
Now when I mouse over the column header, the Filter Icon does not appear, even tho the IsFilterable is set to true, and the column has a filter decsriptor that was applied to it. Neither the Filter or the Sort will work on the columns in the grid. If I step into the grid and look at the Header Cell, the PropertyType is set to null.
If there is data in the collection, then the filtering and sorting work fine, even if there is no row that matches the value 'Foo'.
It seems that if the ItemsSource data collection is empty, and you apply filter descriptors, the header cells don't get the property type set, and this disables the sorting and filtering. After adding items to the data collection, they show up in the grid just fine, but no sorting or filtering works on the grid.
We see this problem after updating to the Q2 release, where in the prior release this was working correctly.
Has anybody else worked with adding filter descriptors to the grid's FilterDescriptor collection programmatically had any problems doing this?
For example, I have a string column type, and I add the filter 'Not Equal To Foo'
All works fine. I save the filterdescriptors when I close the application. When I open the application the next time, the data collection is empty, but the saved filter is applied.
Now when I mouse over the column header, the Filter Icon does not appear, even tho the IsFilterable is set to true, and the column has a filter decsriptor that was applied to it. Neither the Filter or the Sort will work on the columns in the grid. If I step into the grid and look at the Header Cell, the PropertyType is set to null.
If there is data in the collection, then the filtering and sorting work fine, even if there is no row that matches the value 'Foo'.
It seems that if the ItemsSource data collection is empty, and you apply filter descriptors, the header cells don't get the property type set, and this disables the sorting and filtering. After adding items to the data collection, they show up in the grid just fine, but no sorting or filtering works on the grid.
We see this problem after updating to the Q2 release, where in the prior release this was working correctly.
Has anybody else worked with adding filter descriptors to the grid's FilterDescriptor collection programmatically had any problems doing this?