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

GridView columns do not update when sorting is used

4 Answers 47 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Dan R
Top achievements
Rank 1
Dan R asked on 01 Jul 2010, 08:50 PM
In Silverlight 3, we have a grid view where the displayed content can be updated through pop ups. Under normal circumstances, when a change is made to the underlying data, the change shows up just fine in the grid. However, if sorting is applied to a column in the grid (any column) and then a data change is made, the new value does not show up in the grid. Once sorting is removed and the grid goes back to its original order, the new data can be seen. Is this a known issue or is there some extra step needed? Thanks.

4 Answers, 1 is accepted

Sort by
0
Milan
Telerik team
answered on 02 Jul 2010, 07:05 AM
Hello Dan R,

Are you sure that the new value does not show up or the grid just does not resort the data?

Looking forward to your answer. 


Sincerely yours,
Milan
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Dan R
Top achievements
Rank 1
answered on 02 Jul 2010, 02:20 PM
I confirmed the behavior. For example, if column A is sorted ascending and I change the data in any column, including column A, the change does not show up. If the data change is to column A it neither shows the change nor resorts the column.

As soon as I click the column A header to change the sorting to descending, the new data shows up in whatever column it was made in and the sorting is done appropriately. It is consistent for any type and combination of columns where im sorting or changing data. Thanks for the help.
0
Dan R
Top achievements
Rank 1
answered on 02 Jul 2010, 04:12 PM
Ok, looks like it is specific to version 1103 of the controls and is fixed in the 1127 version. Thanks again.
0
Nathaniel
Top achievements
Rank 1
answered on 02 May 2011, 05:20 PM
Telerik 2011 Q1 SP1

I'm having a similar problem.  I have a read-olny column, which I use to display "wordy" error messages to the user.  I have my Errors column which is bound to the ErrorText property of my custom type, but when i set the ErrorText in the code behind, the sorting to display my ErrorText does not update automatically?  What can i do?  My grid is bound to a Observable Collection from a WCF service.  So It implements the notify by default correct?
Tags
GridView
Asked by
Dan R
Top achievements
Rank 1
Answers by
Milan
Telerik team
Dan R
Top achievements
Rank 1
Nathaniel
Top achievements
Rank 1
Share this question
or