Skip to main content

ApiListColumn

Represents the ApiListColumn class.

note

This functionality is available in paid ONLYOFFICE Docs editions.

Properties

NameTypeDescription
DataBodyRangeApiRange | nullReturns the data body range of the column, excluding header and totals rows.
IndexnumberReturns the 1-based index of the column within the table.
NamestringReturns or sets the name of the column.
ParentApiListObjectReturns the parent list object.
RangeApiRange | nullReturns the full range of the column, including header and totals rows.
TotalApiRange | nullReturns the totals row cell range for the column.
TotalsCalculationXlTotalsCalculationReturns or sets the totals row calculation type.

Methods

MethodReturnsDescription
DeletebooleanDeletes the column from the table.
GetDataBodyRangeApiRange | nullReturns the range of the data body of the column, excluding the header and totals rows.
GetIndexnumberReturns the 1-based index of the column within the table.
GetNamestringReturns the name of the table column.
GetParentApiListObjectReturns the parent list object.
GetRangeApiRange | nullReturns the range of the entire column, including the header and totals rows.
GetTotalApiRange | nullReturns the range of the totals row cell for the column.
GetTotalsCalculationXlTotalsCalculationReturns the totals calculation type for the column.
SetNameNoneSets the name of the table column.
SetTotalsCalculationNoneSets the totals calculation type for the column.