Guidance need for control

4 posts, 0 answers
  1. Vaibhav
    Vaibhav avatar
    2 posts
    Member since:
    Sep 2013

    Posted 05 Sep 2013 Link to this post

    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
  2. Rosen Vladimirov
    Admin
    Rosen Vladimirov avatar
    640 posts

    Posted 10 Sep 2013 Link to this post

    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 >>
  3. UI for WPF is Visual Studio 2017 Ready
  4. Vaibhav
    Vaibhav avatar
    2 posts
    Member since:
    Sep 2013

    Posted 10 Sep 2013 Link to this post

    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
































  5. Rosen Vladimirov
    Admin
    Rosen Vladimirov avatar
    640 posts

    Posted 13 Sep 2013 Link to this post

    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 >>
Back to Top