Package com.grapecity.documents.excel
Interface ITableColumn
public interface ITableColumn
Represents a column in a table. The
ITableColumn object is a memberof the ITableColumns collection. The ITableColumns collectioncontains all the columns in a table ( ITable object).-
Method Summary
Modifier and TypeMethodDescriptionvoiddelete()Deletes the column of data in the table.Returns theIRangeobject that is the size of the data portion of acolumn.Returns the name of data field of current table column.intgetIndex()Returns the index number of theITableColumnobject within theITableColumnscollection.getName()Gets the name of the table column.getRange()Returns theIRangeobject that represents the range to which thespecified list object in the above list applies.getTotal()Returns the Total row for theITableColumnobject.Gets the type of calculation in the Totals row of the table column based on the value of theTotalsCalculationenumeration.voidsetDataField(String value) Sets the name of data field of current table column.voidSets the name of the table column.voidSets the type of calculation in the Totals row of the table column based on the value of theTotalsCalculationenumeration.
-
Method Details
-
getIndex
int getIndex()Returns the index number of theITableColumnobject within theITableColumnscollection. -
getName
String getName()Gets the name of the table column. This is also used as the display name of the table column. This name must be unique within the table. -
setName
Sets the name of the table column. This is also used as the display name of the table column. This name must be unique within the table. -
getTotalsCalculation
TotalsCalculation getTotalsCalculation()Gets the type of calculation in the Totals row of the table column based on the value of theTotalsCalculationenumeration. -
setTotalsCalculation
Sets the type of calculation in the Totals row of the table column based on the value of theTotalsCalculationenumeration. -
getTotal
IRange getTotal()Returns the Total row for theITableColumnobject. -
delete
void delete()Deletes the column of data in the table. -
getDataBodyRange
IRange getDataBodyRange()Returns theIRangeobject that is the size of the data portion of acolumn. -
getRange
IRange getRange()Returns theIRangeobject that represents the range to which thespecified list object in the above list applies. -
getDataField
String getDataField()Returns the name of data field of current table column. -
setDataField
Sets the name of data field of current table column.
-