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

Dragging row format

4 Answers 67 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Cheau-Long
Top achievements
Rank 1
Cheau-Long asked on 04 Mar 2011, 06:40 PM
Hi Telerik,

In RadGridView, when dragging a row it defaults with a line indicator of the target position. How can I change this format to a highlighted target row instead while dragging a row? I can't find any tricks to achieve this. Please help! Thanks.

4 Answers, 1 is accepted

Sort by
0
Tsvyatko
Telerik team
answered on 08 Mar 2011, 09:07 AM
Hello Cheau-Long,

Could you please let us know if you are using RadTreelistView or some custom implementation from blogpost/help article sinde RadGridView does not have drop indicator by default.

Kind regards,
Tsvyatko
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
Cheau-Long
Top achievements
Rank 1
answered on 08 Mar 2011, 06:02 PM
Hi Tsvyatko, I'm using RadTreeListView, which I believe it inherits from GridView, right? So, there isn't a "drop indicator" template that I can customize? Thanks.
0
Vanya Pavlova
Telerik team
answered on 09 Mar 2011, 02:51 PM
Hi Cheau-Long,


Since the Drag and Drop functionality is enabled in TreeListView you may change the appearance of the element named DragItemsFeedBack by editing the template of RadTreeListView (you may refer to the attached picture).

Please find attached sample project as reference. Let me know if you have any further questions.

 

Kind regards,
Vanya Pavlova
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
Cheau-Long
Top achievements
Rank 1
answered on 12 Mar 2011, 12:01 AM
Thanks for your prompted reply with a solution! It's very helpful.
Tags
GridView
Asked by
Cheau-Long
Top achievements
Rank 1
Answers by
Tsvyatko
Telerik team
Cheau-Long
Top achievements
Rank 1
Vanya Pavlova
Telerik team
Share this question
or