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
115
How to delete child band rows in wingrid?
posted

I have tow bands in my wingrid. When the value in parent band changes, I want to delete all the rows in the child band. Can somebody tell me how to do it?

Parents
  • 17259
    Offline posted

    In the CellChange event:

     

    foreach (var childRow in parentRow.Childbands[0].Rows)

    {

        childRow.Delete();

    }

Reply Children