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

Guidance need for control

3 Answers 35 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Vaibhav
Top achievements
Rank 1
Vaibhav asked on 05 Sep 2013, 08:53 AM
Hi Need a control which could allow drag drop and populate filed vertical rather then horizontal what we have in telerik datagrid view
also it should allow column and row at the same time .i am attaching the png file to see the outlook of control
if we drag drop the run in the grid it will fill vertical and populate it

3 Answers, 1 is accepted

Sort by
0
Rosen Vladimirov
Telerik team
answered on 10 Sep 2013, 09:23 AM
Hi Vaibhav,

As far as I understand you want to add columns dynamically, while the rows will be static. One way to do this is to use RadGridView and add such columns. You can find more information here.

The other option is to use Grid panel and dynamically add rows and columns.

Maybe we can offer better approach, but we'll need the data structure and what is the final result you are expecting.

Hopefully this helps.

Regards,
Rosen Vladimirov
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 >>
0
Vaibhav
Top achievements
Rank 1
answered on 10 Sep 2013, 10:01 AM
Hi Rosen,
i will give your full scenario

i have one dash board which will contain two parts one with containing list of resource and Scheuler which i need to drag drop on some controls on the right side and will populate the value in one column and multiple rows
suppose
schduler contains
name -a
demo1 - example
memo1 - need to do
Resource Contain
Name - B

so if we drag drop on production line on postion of scheuler and Line man data should come like this

Hearder

Line 1

Line2

Line 3

Schedule

Name

a

Demo1

example

Memo1

need to do

Production line Man

B



if you do drag drop in Line 2 it will look like below

Hearder

Line 1

Line2

Line 3

Schedule

Name

a

Demo1

example

Memo1

need to do

Production line Man

B



as you can see in if we drag drop and data it will fill horzontal but my case it is verticla and also number of column is fixed to 11 column s
same Line can also have two schedculers

Hearder

Line 1

Line2

Line 3

Schedule

a

Name

example

a

Demo1

need to do

example

Memo1

need to do

B

Production line Man

a

B

example

Schedule

C

Name

Example1

Demo1

need to do1

Memo1

d

Production line Man

if you can see it had added some more row but column remain same and also first colum int able is having some static header whcih we should not change
please le tme know if you require any inputs
the above will be right part of my dashboard and left side will have three tab name resource,scehduler and Tools
which we can drag drop on right side and populate it

It is a production line interface
































0
Rosen Vladimirov
Telerik team
answered on 13 Sep 2013, 07:14 AM
Hi Vaibhav,

Unfortunately there's no easy way to achieve the desired view. You can use our DragDropManager to implement the Drag-Drop functionality, and simple Grid panel to order the items. When you add items to the Grid panel dynamically, you will be able to set attached properties Grid.Row and Grid.Column to place them where you need. You can find more information about DragDropManager here.

Hopefully this helps.

Regards,
Rosen Vladimirov
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 >>
Tags
General Discussions
Asked by
Vaibhav
Top achievements
Rank 1
Answers by
Rosen Vladimirov
Telerik team
Vaibhav
Top achievements
Rank 1
Share this question
or