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

Sorting on Grid View Column when content of the column null

1 Answer 57 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Smita
Top achievements
Rank 1
Smita asked on 10 Jul 2012, 05:18 AM
Hi ,

I have used RadGridView for my Silverlight application and this grid contains for columns e.g. ProductType ,Name ,Description ,Price.
For this grid i have enabled showInsertedColumn as true and InLine Editing is true.

If a user clicks a column header to trigger the sort of that column and then goes into a cell in one of the rows on that same column and clicks away, the RowEditedAction (i.e., Save) is not triggered. The grid automatically sorts based on the new value, which displays in the grid.And upon analysis i found that the RowEditEnded Event args (e.row.Item is null) returns the RowItem for that modified row as NUll due to which Save operation i have written is not performed.
 

 Please share your thought on this issue.

1 Answer, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 10 Jul 2012, 06:16 AM
Hello,

 When the collection changes, then the SortDescriptors are re-evaluated. You could subscribe for the CellEditEnded and you will be able to get the item being editted before it is resorted.

Greetings,
Didie
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

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