---
Product: Aspose.Cells
Platform: java
Page Type: reference
Canonical URL: https://reference.aspose.org/cells/java/ListColumn
---

# ListColumn

## Overview

`ListColumn` is a class in Aspose.Cells FOSS for Java.

Represents a column within an Excel table (ListObject).

This class provides 11 methods for working with ListColumn objects in Java programs.
Available methods include: `getId`, `getName`, `getTotalsCalculation`, `getTotalsRowFormula`, `getTotalsRowLabel`, `parseTotalsCalculation`, `setName`, `setTotalsCalculation`, `setTotalsRowFormula`, `setTotalsRowLabel`, `totalsCalculationToString`.
All exported members are accessible to any Java application after installing the Aspose.Cells FOSS for Java package.
Properties: `id`, `name`, `totalsCalculation`, `totalsRowFormula`, `totalsRowLabel`.

## Description

`ListColumn` is a class in the Aspose.Cells FOSS library for Java that exposes 11 methods and 5 properties for programmatic use.

Core capabilities include: `string`; `totalscalculation`; `string`. These operations enable developers to integrate listcolumn functionality directly into Java applications.

The class also provides the `id` property (one-based column identifier as stored in ooxml), the `name` property (gets the name), the `totalsCalculation` property (gets the totals calculation).

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `id` | `int` | Read | One-based column identifier as stored in OOXML. |
| `name` | `String` | Read | Gets the name. |
| `totalsCalculation` | `TotalsCalculation` | Read | Gets the totals calculation. |
| `totalsRowLabel` | `String` | Read | Gets the totals row label. |
| `totalsRowFormula` | `String` | Read | Gets the totals row formula. |

## Methods

| Signature | Description |
|-----------|-------------|
| `getId()` → `int` | One-based column identifier as stored in OOXML. |
| `getName()` → `String` | Returns the name. |
| `setName(name: String)` | Sets the name value. |
| `getTotalsCalculation()` → `TotalsCalculation` | Returns the totals calculation. |
| `setTotalsCalculation(calc: TotalsCalculation)` | Sets the totals calculation value. |
| `getTotalsRowLabel()` → `String` | Returns the totals row label. |
| `setTotalsRowLabel(label: String)` | Sets the totals row label value. |
| `getTotalsRowFormula()` → `String` | Returns the totals row formula. |
| `setTotalsRowFormula(formula: String)` | Sets the totals row formula value. |
| `parseTotalsCalculation(raw: String)` → `TotalsCalculation` |  |
| `totalsCalculationToString(calc: TotalsCalculation)` → `String` |  |

## See Also

- [Aspose.Cells — Enterprise API Reference](https://reference.aspose.com/cells/)
- [Aspose.Cells for Java — Enterprise API Reference](https://reference.aspose.com/cells/java/com.aspose.cells/listcolumn/)