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

How to drag a row from a button click

1 Answer 65 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Tim DiPaula
Top achievements
Rank 1
Tim DiPaula asked on 01 Apr 2010, 03:52 PM
I would like to be able to drag a row in the grid by having the user click on an image or image button in the grid row.  Basically I have an image with the work "Drag" in it that the user would click to drag the row to a new position in the grid.  Any ideas on how to implement this?

1 Answer, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 05 Apr 2010, 03:39 PM
Hi Tim,

To achieve your goal you could check on button click if there is selected item in the first grid. If so you should delete the selected record from the data source of the first grid and add it to the data source of the second grid, then Rebind() it.

Give this suggestion a try and see if it works for you.

Greetings,
Pavlina
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Grid
Asked by
Tim DiPaula
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Share this question
or