Nested DataGrids

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Dave

    #1

    Nested DataGrids

    I have a datagrid with another datagrid in a template
    column. For the second datagrids datasource I use
    container.datai tem.createchild view("relations hip") I want
    to discover if the nested datagrid has any rows. I think
    I need to check the datagrid.items. count on the second
    datagrid in the first datagrids ItemCreated event but I
    can't seem to figure out how to address the second
    datagrid. Does anyone have any ideas?
  • S. Justin Gengo

    #2
    Re: Nested DataGrids

    Use the "FindContro l" method to get the second datagrid object.

    Justin

    "Dave" <davet65109@hot mail.com> wrote in message
    news:023101c34a ef$0c7f3bd0$a10 1280a@phx.gbl.. .[color=blue]
    > I have a datagrid with another datagrid in a template
    > column. For the second datagrids datasource I use
    > container.datai tem.createchild view("relations hip") I want
    > to discover if the nested datagrid has any rows. I think
    > I need to check the datagrid.items. count on the second
    > datagrid in the first datagrids ItemCreated event but I
    > can't seem to figure out how to address the second
    > datagrid. Does anyone have any ideas?[/color]


    Comment

    Working...