Home Forums WinForms controls Xceed Grid for WinForms hierarchical tree – master/detail grid

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #13947 |

    Question 1:

    How to make master/detail grid to display as tree view with

    1. Each Detail grid can have multiple detail grids of the same type.
    (tree with multiple nodes. And again nodes with more nodes)

    2. Each Master can have different number of Details?
    (each node can have different number of child nodes)

    3. Can we populate it using the same data source?
    ( like with the DataGrid provided by Visual Studio 2003, we provide DataSource and it will display/create detail grids )

    Is Above scenario possible with Xceed grid or I am getting too greedy?

    If this is not possible, what is the best way to use Xceed grid in this kind of situation?

    ==========
    Question 2:

    Without attaching detail grid, is there any way to see all related tables in Xceed grid?

    Thanks,

    Kapil

    Imported from legacy forums. Posted by kapilkelaiya (had 4660 views)

    User (Old forums)
    Member
    Post count: 23064

    I haven’t tried it yet, but when you install Xceed.Grid, in the samples folder you’ll find a sample called <b>GridTreeViewBrowser</b> that shows how to do this.

    Imported from legacy forums. Posted by Tommy (had 243 views)

    User (Old forums)
    Member
    Post count: 23064

    Hello Tommy,

    Thanks for your super quick reply,

    Yes, i have checked GridTreeViewBrowser example.
    In my case, each node has values that need to be displayed and edited on screen.

    So in GridTreeViewBrowser, instead of displaying just folder icon and folder name, i need folder create date, last modified date etc.. info as well. And that should be modifiable.
    This is only possible if we can put datarow there
    or
    make master/detail hierarchical grid.

    Any suggestion?

    Regards,

    Kapil

    Imported from legacy forums. Posted by kapilkelaiya (had 322 views)

    User (Old forums)
    Member
    Post count: 23064

    To be more specific,
    Is it possible to have different number of detail grids for each row of master grid?

    Master1 (Value1, Value2, Value 3)
    |
    |———-Detail1.1 (V1, V2)
    |———-|
    |———-|——-subDetail1.1.1 (V1,V2)——-subDetail 1.1.1.1(V1)
    |———-|——-subDetail1.1.2
    |
    |———-Detail1.2
    |
    |———-Detail1.3
    |———-|
    |———-|——-subDetail1.3.1(V1, V2)

    I have already tried master/detail and TreeView but no luck.
    What are the possible ways to implement this?

    Any help please …..!

    Thanks,

    Kapil

    Imported from legacy forums. Posted by kapilkelaiya (had 662 views)

    User (Old forums)
    Member
    Post count: 23064

    According to the documentation, you can do this: <a href=”http://doc.xceedsoft.com/products/gridNET/doc/sources/master_detail.htm”>http://doc.xceedsoft.com/products/gridNET/doc/sources/master_detail.htm</a&gt;.

    Imported from legacy forums. Posted by Tommy (had 265 views)

    User (Old forums)
    Member
    Post count: 23064

    Thanks for your help Tommy,

    As i have mentioned, i have already tried master/detail and treeView control as well.

    But i found no way to display different number of detail grids for a single master record.

    Hopefully support team will come up with some idea.

    Regards,

    Kapil

    Imported from legacy forums. Posted by kapilkelaiya (had 350 views)

    User (Old forums)
    Member
    Post count: 23064

    Yes Tomy, you were right.
    GridTreeViewBrowser example solved the problem.
    i needed to set……

    SynchronizeDetailGrids = false;

    Thanks,

    Kapil

    Imported from legacy forums. Posted by kapilkelaiya (had 6086 views)

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.