This is a migrated thread and some comments may be shown as answers.

RadGridView - unexpected results in form filtering

2 Answers 32 Views
GridView
This is a migrated thread and some comments may be shown as answers.
tomsky
Top achievements
Rank 1
tomsky asked on 18 Apr 2013, 01:11 PM
We have a layout consisting of a grid and a matching form (the fields on the form are grid columns).

From the form on the right, you're able to filter the data on the grid. This is done by manipulating the underlying data source. Steps to reproduce:

Sort the data on the grid by any column
Apply a filter on the form (data gets filtered correctly)
Apply a second filter -> data gets filtered, but it's not displayed correctly. Eg. you set a second filter to be a string 'AABB' but it shows you rows whose value is 'AAAA'. Now, if you sort the grid again, it will refresh and show you correct values. Also, without sorting, it works correctly every time. 

Please let me know if you need any further information. Hope you can help with this problem. 

2 Answers, 1 is accepted

Sort by
0
tomsky
Top achievements
Rank 1
answered on 19 Apr 2013, 08:49 AM
We managed to solve this problem by re-binding DataSource after we've done with filtering. This works fine, although we're still not 100% why the Grid doesn't refresh automatically. 
0
Dimitrina
Telerik team
answered on 22 Apr 2013, 08:12 AM
Hello,

Thank you for the update. I am glad to hear you have resolved the issue.

I am not able to reproduce such a problem on our online demos though. If you send us a demo project, then we will investigate the case further.
 

All the best,
Didie
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
GridView
Asked by
tomsky
Top achievements
Rank 1
Answers by
tomsky
Top achievements
Rank 1
Dimitrina
Telerik team
Share this question
or