This question is locked. New answers and comments are not allowed.
I have priority column with inetger values. If user selects a row and drag it to top then this priorty column value for this row shoudl become 1 and before drag teh top row value shoudl become 2 and follwing rows value changed by +1. Can you pelase help me with this.
Thanks ,
Shweta
Thanks ,
Shweta
4 Answers, 1 is accepted
0
Hi Shweta,
You can find all the code needed for your implementation at this online example.
Greetings,
Pavel Pavlov
the Telerik team
You can find all the code needed for your implementation at this online example.
Greetings,
Pavel Pavlov
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
0
Shweta
Top achievements
Rank 1
answered on 25 Feb 2011, 07:50 PM
Hi Pavel,
In the online code grivdiew itemsource is IList sow e can insert at specific idnex, but here in my case I ahev gridview itemsource as entityset and using that i cna only add enitty but not at specific index on drop event. Can you please help me with this. how can I reorder row suing entity framework and in MVVM pattern.
Thanks,
Shweta
In the online code grivdiew itemsource is IList sow e can insert at specific idnex, but here in my case I ahev gridview itemsource as entityset and using that i cna only add enitty but not at specific index on drop event. Can you please help me with this. how can I reorder row suing entity framework and in MVVM pattern.
Thanks,
Shweta
0
Hi Shweta,
Indeed you can add the new entity with the index desired. Then to place it at the exact position it belongs, you may just sort RadGridView by that index.
Is that what you are looking for ?
Regards,
Pavel Pavlov
the Telerik team
Indeed you can add the new entity with the index desired. Then to place it at the exact position it belongs, you may just sort RadGridView by that index.
Is that what you are looking for ?
Regards,
Pavel Pavlov
the Telerik team
Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
0
Shweta
Top achievements
Rank 1
answered on 03 Mar 2011, 06:49 PM
Hi Pavel,
Thanks for the reply. Is there any sample which i can refer to , to implemnet what you suggested.
Thanks,
Shweta
Thanks for the reply. Is there any sample which i can refer to , to implemnet what you suggested.
Thanks,
Shweta