Test in production without watermarks.
Works wherever you need it to.
Get 30 days of fully functional product.
Have it up and running in minutes.
Full access to our support engineering team during your product trial
In this tutorial, we explore the process of grouping and ungrouping rows and columns in Excel using the IronXL library. The video provides a step-by-step guide, starting with the installation of IronXL via the NuGet package manager. The tutorial then progresses to importing the IronXL namespace to access essential Excel functionalities. An existing Excel spreadsheet is loaded into a workbook object, and the default worksheet is obtained. The code demonstrates how to group rows 1 to 8 and columns A to F using the 'groupRows' and 'groupColumns' methods, respectively. Parameters specify the starting and ending indexes. Optional steps to ungroup rows or columns are also discussed. After saving the changes to a new Excel file named 'grouped.xlsx,' the tutorial shows how the grouped rows and columns appear with expandable and collapsible buttons for easy data navigation. With just a few lines of C# code, users can significantly improve their Excel data management. The tutorial concludes by encouraging viewers to subscribe for more insights and offers a free trial license for further exploration of Iron software.
Further Reading: How to Group and Ungroup Rows & Columns