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
430
multiband grid
posted

I have a multiband grid where I want to create child bands when the expansion indicator is selected on the parent band.  I put code to do this in the BeforeRowExpanded event but the expansion indicator disappears like there is no child data.  I am manually creating records in the dataset that is bound to the grid.  do I have to refresh the grid maybe? 

Parents
  • 469350
    Suggested Answer
    Offline posted

    Hi,

    I would advise against this. The grid is really not designed to handle dynamically added and/or removed bands.The grid's data structure has to be homogenous, so it's more efficient and easier to set up the band structure up front.

    Having said that, what you probably need to do is call grid.Rows.Refresh to force it to reload the data.

     

Reply Children