Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
745
how to get cell values of Hierarchical Grid
posted

hi,

anybody tel me how to get data from hierarchical Grid... i had two grids in my hierarchical grid..i dont know how to get second grid vlues.....

 

Parents
  • 2783
    Suggested Answer
    posted

    Hi,

    You can handle one if the following events depending on how early you need to get to the RowIsland or grid, these events live off of the WebHierarchicalDataGrid control

    RowIslandCreated, RowIslandDataBinding, or RowIslandDataBound

    Also you can access the GridView of the  WebHierarchicalDataGrid control, this would be the main grid.  Off of that grid there is a Rows collection and each row has a RowIslands property, which is a collection of its child grids, if it has any.  This can be done, like so:

    this

     

    .WebHierarchicalDataGrid1.GridView.Rows[0].RowIslands

    Thanks,

    Olga

Reply Children
No Data