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

Drag and Drop special functionality

1 Answer 76 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Paul
Top achievements
Rank 1
Paul asked on 23 Mar 2011, 05:04 PM
Hi Telerik team,

I need to develop a Dynamic View where the user can add filters and new columns to data result set.
To show the data result set i am using a radgrid, and want to use the "drag and drop" feature to develop the "add columns" functionality (the columns are addeds in the grid from another control).
But when the user try to put a new column in the grid, I need that user can locate the new column where he/she want (between other columns).
Could I develop this requirement with the current Telerik ASP.NET AJAX functionality?  or I need develop additional routines to do this.

Thanks for the help.

1 Answer, 1 is accepted

Sort by
0
Marin
Telerik team
answered on 29 Mar 2011, 01:43 PM
Hello Paul,

 Unfortunately the grid does not expose API for drag and drop of columns. Even the internal swap/reorder of  the grid columns is achieved through dragging only the header elements of each column. If you need to drag and drop columns from other controls then you will have to add custom methods and events to achieve such behaviour if possible. Note that this will also result in dynamically adding/removing columns from the grid, and also you will need to manually determine the location to which the column will be dropped.

Greetings,
Marin
the Telerik team
Tags
General Discussions
Asked by
Paul
Top achievements
Rank 1
Answers by
Marin
Telerik team
Share this question
or