Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.
One of the advantages of spreadsheets is that they allow you to create different types of lists, for example, phone lists, task lists, lists of transactions, assets or liabilities. Several users can work together to use, create and maintain various lists.
Aspose.Cells supports creating and managing Lists.
There are quite a few advantages when you convert a list of data to an actual List Object
| Selecting data range for creating List object |
|---|
![]() |
| This displays the Create List dialog. |
| Create List dialog |
|---|
![]() |
| Implementing the List object for the data and specifying total row (Select Data, then List, followed by Total Row). |
| Creating a list object |
|---|
![]() |
Aspose.Cells provides a class Workbook that represents a Microsoft Excel file. The Workbook class contains an Worksheets collection that allows access to each worksheet in an Excel file.
A worksheet is represented by the Worksheet class. The Worksheet class provides a wide range of methods for managing a worksheet. To create an ListObject in a worksheet, use the GetListObjects collection method of the Worksheet class. Each [ListObject] is in fact, an object of the ListObjectCollection class, which further provides the Add method for adding an [ListObject] object and specifying a range of cells for the list.
According to the specified range of cells, the [ListObject] object is created by Aspose.Cells. Use attributes (for example SetShowTotals and GetListColumns etc.) of the [ListObject] class to control the list.
In the example given below, we have created the same [ListObject] using Aspose.Cells API as we created using Microsoft Excel in the above section.
To manage and analyze a group of related data, it is possible to turn a range of cells into a list object (also known as an Excel table). A table is a series of rows and columns that contain related data managed independently from the data in other rows and columns. By default, every column in the table has filtering enabled in the header row so that you can filter or sort your list object data quickly. You can add a total row (a special row in a list that provides a selection of aggregate functions useful for working with numerical data) to the list object that provides a drop-down list of aggregate functions for each totals row cell. Aspose.Cells provides options for creating and managing lists (or tables).
Aspose.Cells provides a class Workbook that represents a Microsoft Excel file. The Workbook class contains an Worksheets collection that allows access to each worksheet in an Excel file.
A worksheet is represented by the Worksheet class. The Worksheet class provides a wide range of methods for managing worksheets. To create a ListObject in a worksheet, use ListObjectCollection. Each [ListObject] is in fact, an object of the ListObjectCollection class, which further provides the Add method for adding an [ListObject] object and specify the range of cells it should encompass. According to the specified range of cells, a ListObject is created in the worksheet by Aspose.Cells. Use attributes (for example, SetTableStyleType) of the [ListObject] class to format the table for your requirements.
The example below adds sample data to a worksheet, adds an [ListObject] and applies default styles to it. [ListObject] styles are supported by Microsoft Excel 2007/2010.
Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.