I have a RadGridView that resembles the one below. The grid allows for pop-up filtering on each column. We allow the user to modify rows within the grid and once they are done we rebuild the entire page (which involves destroying the previous grid and building a new one). Currently, we transfer any filters and selected row information from the previous grid to the new grid via a custom variable that grabs the RadGridView's FilterDescriptors.
However, when we programmatically add these filters to the newly build grid during the Loaded event of the RadGridView (a la RadGridView.FilterDescriptors.Add(filter);), the new grid correctly filters on the designated columns in the right way, but it does so exclusively. Using the example grid below, if I were to filter the grid on Route ID = 003 and then modify that row (triggering the building of a new grid on the page), the new grid would only display the 003 row (even though the Items attribute contains the other two rows) with no way of accessing the other rows and no filter on the grid even acknowledged. Furthermore, if I try to filter on Route ID again, the only option for me to filter on is 003. I've included some pictures to better explain my problem.
What I'm hoping to accomplish is to allow the building of the new grid as it currently does, but to transfer the filters as they were from the previous grid. I don't want the new grid to be locked into a hard filter on said filters. Is this possible?
TripSet ID Date Route ID
010 4/9/13 001
010 4/9/13 002
010 4/9/13 003
However, when we programmatically add these filters to the newly build grid during the Loaded event of the RadGridView (a la RadGridView.FilterDescriptors.Add(filter);), the new grid correctly filters on the designated columns in the right way, but it does so exclusively. Using the example grid below, if I were to filter the grid on Route ID = 003 and then modify that row (triggering the building of a new grid on the page), the new grid would only display the 003 row (even though the Items attribute contains the other two rows) with no way of accessing the other rows and no filter on the grid even acknowledged. Furthermore, if I try to filter on Route ID again, the only option for me to filter on is 003. I've included some pictures to better explain my problem.
What I'm hoping to accomplish is to allow the building of the new grid as it currently does, but to transfer the filters as they were from the previous grid. I don't want the new grid to be locked into a hard filter on said filters. Is this possible?
TripSet ID Date Route ID
010 4/9/13 001
010 4/9/13 002
010 4/9/13 003