Home Forums WinForms controls Xceed Grid for WinForms Master/details with objects

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

    Hi,

    I have 3 classes ‘ClsDossier’, ‘clsProcedure’ and ‘clsActions’.
    one of the properties in ClsDossier is Procedures with has type List(of clsProcedure)
    one of the properties in ClsProcedure Actions with has type List(of clsActions)

    I want to show the procedures and actions of one dossier in a Xceed grid. So i do

    GridControl1.DataSource = doss.Procedures
    detailGridTemplate1.DataSource = doss.Procedures
    detailGridTemplate1.DataMember = “Actions”

    Result: I see all the procedures and for each procudure an empty detail with no columns, with is not what i expect.

    Plz help,

    Thx

    Imported from legacy forums. Posted by stijnp (had 1735 views)

    User (Old forums)
    Member
    Post count: 23064

    First, you need to call UpdateDetailGrids on the GridControl.

    Second, the “Actions” property must be public, and the “clsAction” class properties also.

    Imported from legacy forums. Posted by André (had 2838 views)

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