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

Roerder Rows with Row number problem

2 Answers 59 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Mark
Top achievements
Rank 1
Mark asked on 10 Aug 2012, 09:05 AM
Hi,

I have a GirdView that could reorder rows by drag and drop which also have a row number column. I got it all working by following the latest Demo.

However, after reordering rows, the row numbers are not updated properly (see attached image). Could anyone help me fix this? 

Thanks.

2 Answers, 1 is accepted

Sort by
0
Accepted
Vlad
Telerik team
answered on 10 Aug 2012, 09:09 AM
Hello,

You can us the similar to this demo approach - can Refresh() when needed. Here we are calling Refresh() only for Remove collection change however you can do this for any collection changed action. 

All the best,
Vlad
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Mark
Top achievements
Rank 1
answered on 10 Aug 2012, 09:14 AM
Great! Thanks for the quick reply! :)
Tags
GridView
Asked by
Mark
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Mark
Top achievements
Rank 1
Share this question
or