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
620
Collapse the Child Band on some conditions
posted

I have a Band 0 with n rows. It has the Childband Band 1 with n rows.

If I want to collapse the Band 0 on some condition, It doesn't  work well. No bands are getting collapsed.

I do have a e.Layout.Rows.ExpandAll() in InitializeLayout event.

And am adding the following code in RowInitialize Event

if(e.Row.Band.Index == 0)

 {

  if(Condition)

    e.Row.CollapseAll()

  }

This code doesn't work. Its not doing anything.

 

 

 

Parents Reply Children