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

a. Does RadGridView in Hierarchy mode supports drag drop feature?

3 Answers 44 Views
GridView
This is a migrated thread and some comments may be shown as answers.
divyesh
Top achievements
Rank 1
divyesh asked on 03 Mar 2014, 06:47 AM

Does RadGridView in Hierarchy mode supports drag drop feature? Meaning if my data
structure is as follow,

Sales Person 1 (Level One)
>>>Orders
>>>>>>Order 1 (Level Two)
>>>>>>Order 2 (level three)
>>>Region
>>>>>>Region 1
>>>>>>Region 2

Sales Person 2 (Level One)
>>>Orders
>>>>>>Order 3 (Level Two)
>>>>>>Order 4 (level three)
>>>>>>Order 5 (Level Two)
>>>Region
>>>>>>Region 3
>>>>>>Region 4
>>>>>>Region 5

Now questions,
a) Is it possible to drag “Region 3” row (from Sales Person 2) and move it under Sales Person 1 “Region” block? Similarly, “Order 1” to drag and drop under Orders of Sales Person 2?

b) Does RadGridView supports multiple drag-drop? For e.g., in above scenario, I want to drag multiple orders from Sales Person2 to Sales Person1
c) Will RadGridView support Pin column in Hierarchical form as well? Refer hierarchy above.

Best Regards,
Divyesh

3 Answers, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 05 Mar 2014, 03:50 PM
Hello Divyesh,

Thank you for contacting Telerik Support.

  • RadGridView in Hierarchy mode does not support drag drop feature by default. However, it can be achieved by extending the appropriate row behavior (GridHierarchyRowBehavior). A similar example is available in our online documentation GridView - Rows - Drag and Drop. It is possible to follow the introduced approach in order to get idea of how to achieve the desired scenario with multiple rows as well.
  • It is possible to specify which columns / rows in the child template to be pinned via the IsPinned property and the PinPosition property. Our Pinning and Unpinning Columns and Pinned Rows help articles are useful resource on this topic.

I hope this information helps. Should you have further questions, I would be glad to help.

Regards,
Desislava
Telerik

DevCraft Q1'14 is here! Join the free online conference to see how this release solves your top-5 .NET challenges. Reserve your seat now!

0
divyesh
Top achievements
Rank 1
answered on 19 Mar 2014, 07:33 AM
Hi Desislava,

Thank you for your response. I could achieve drag and drop. However, i see that view of grid in Hierarchy Mode is not as i need. As shown above, i want to show information related to Orders & Region at the same time under Sales Person. Right now, it is being show as two different tab's and makes either information hidden for the user and user is required to do click on tab to see information.

Is there a way that i can show both Order & Region at the same time under each Sales person?

Best Regards,
Divyesh Makwana
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 19 Mar 2014, 03:44 PM
Hello Divyesh,

Thank you for writing back.

Our RadGridView uses page view for displaying the grid's child templates. You are allowed to change the page view mode to ExplorerBar in order to display all the child templates at once. Please refer to our Demo application - GridView - Hierarchy - Tabbed Views, demonstrating the different page view modes.

Please do not hesitate to contact us if you have any additional questions.

Regards,
Desislava
Telerik

DevCraft Q1'14 is here! Watch the online conference to see how this release solves your top-5 .NET challenges. Watch on demand now.

Tags
GridView
Asked by
divyesh
Top achievements
Rank 1
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
divyesh
Top achievements
Rank 1
Share this question
or