if a have a GridView with a name column that contains: A, B and C and the grid view is sorted by this column, when I change the name of the second row to Z, the grid view displays A, Z, C.
Why the data is not moved to the last row in this case?
Patrick
9 Answers, 1 is accepted
Can you point us on some of our demos where this can be reproduced? I've tried to reproduce such behavior on this demo however everything worked as expected.
Greetings,Vlad
the Telerik team
Time to cast your vote for Telerik! Tell DevPro Connections and Windows IT Pro why Telerik is your choice. Telerik is nominated in a total of 25 categories.
on the demo:
1. Sort the grid view by Company Name.
2. Select Berglunds on the grid view.
3. On the left, add a Z in front of the company name.
4. Press Tab to change the focus and commit the change.
The name on the grid view in now ZBerglunds, but its position has not changed: the order is not correct now.
Patrick
Tab will not commit the change - Enter will.
All the best,Vlad
the Telerik team
Time to cast your vote for Telerik! Tell DevPro Connections and Windows IT Pro why Telerik is your choice. Telerik is nominated in a total of 25 categories.
if I press Enter after the change of the name, the name is not updated in the grid view.
Patrick
Please check this screencast for more info:
http://screencast.com/t/rW5ZlLqM3X
Vlad
the Telerik team
Time to cast your vote for Telerik! Tell DevPro Connections and Windows IT Pro why Telerik is your choice. Telerik is nominated in a total of 25 categories.
I'm not changing the value on the grid view, but on the data displayed at the left.
Patrick
When you change your data outside of the grid the grid will reapply grouping, sorting, filtering, etc. only on CollectionChanged not on PropertyChanged.
All the best,Vlad
the Telerik team
Time to cast your vote for Telerik! Tell DevPro Connections and Windows IT Pro why Telerik is your choice. Telerik is nominated in a total of 25 categories.
it's really annoying because, in my application, edition is not made at the grid view level, but the grid view remains in a tab and another tab is opened for edition.
It is not possible to edit directly in the grid view, because some data are very big (more than 100 of properties) and contains data that can't be edited in a grid view (documents, photos, ...). In addition, there can be, in some cases, more than one list of items to update.
It would be much more simpler if the grid view correctly manages the changes in the properties of a data item.
Patrick
I believe you should check this demo to know more how to force the grid to update sorting on a property value change outside of RadGridView.
Greetings,Vlad
the Telerik team
Time to cast your vote for Telerik! Tell DevPro Connections and Windows IT Pro why Telerik is your choice. Telerik is nominated in a total of 25 categories.