Rieni De Rijke
Top achievements
Rank 1
Rieni De Rijke
asked on 25 Jul 2013, 01:25 PM
When dragging a row from a RadGridView, by default. the whole row with all the cells/fields is shown as Dragged Item.m
Is there a simple way to just show one of the cells/fields?
Without the need of several help-classes and templates?
What is the easiest way?
Is there a simple way to just show one of the cells/fields?
Without the need of several help-classes and templates?
What is the easiest way?
4 Answers, 1 is accepted
0
Hi,
You will need to define a drag ItemTemplate as you would like to. You can check our WPF Demos on DragDropManager and also the "Reorder Rows" demo on RadGridView.
Let me know if you have any further questions.
Regards,
Didie
Telerik
You will need to define a drag ItemTemplate as you would like to. You can check our WPF Demos on DragDropManager and also the "Reorder Rows" demo on RadGridView.
Let me know if you have any further questions.
Regards,
Didie
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
0
Rieni De Rijke
Top achievements
Rank 1
answered on 26 Jul 2013, 12:48 PM
Right...
The question was:
Is there a simple way to just show one of the cells/fields?
Without the need of several help-classes and templates?
The question was:
Is there a simple way to just show one of the cells/fields?
Without the need of several help-classes and templates?
0
Hi,
I hope this helps.
Regards,
Didie
Telerik
You can also directly set the e.DragVusual to be the value of a property of the sourceRow.Item.
For example:
var user = sourceRow.Item
as
User;
if
(user !=
null
)
{
e.DragVisual = user.UserName;
}
I hope this helps.
Regards,
Didie
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
0
Rieni De Rijke
Top achievements
Rank 1
answered on 19 Aug 2013, 08:30 AM
Yes! This works fine. Thank you.