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
190
How do I expand/collapse a row or column's outlinelevel?
posted

I'm using Infragistics.Excel to manually create my excel spreadsheet, and I'm using the OutlineLevel property on the worksheet rows.  I can get it to display in the output file correctly, but by default, the groups are expanded.  How can I get them to be collapsed before I save them to a file?

Parents
No Data
Reply
  • 45049
    Verified Answer
    posted

    Hide all of the rows that belong to the group you want to collapse.  This can be done by setting the Hidden property of the WorksheetRow objects representing your rows.

    Excel "collapses" groups by hiding the corresponding rows, and "expands" them by unhiding them.

Children