The Column object has the following properties:
Column Properties
Name |
Parameter |
Type |
Description |
| Type |
CViewColType |
Defines the type of column. | |
Header |
String |
Column heading text. | |
Length |
Short |
not implemented yet. | |
Protection |
Boolean |
Sets this property to TRUE to protect the entire column against user input and modifications. This flag is used only if the Table View object’s EnableProtection property is set to TRUE. | |
Width |
Short |
Width of this column. The value is measured in average character width units. | |
| Font |
Object |
Font used for this column. | |
Format |
String |
Defines the format for all cells in this column. | |
Data |
Array of Variant |
Returns the data of the entire column in a two-dimensional array. The first dimension always equals one, the second dimension equals the number of cells in the column. | |
Index |
Long |
Returns the index in the object’s Columns collection. Read-only. | |
Visible |
Boolean |
Indicates whether the column should be visible. If this property is set to TRUE, the column becomes invisible by setting the columns width to 0. | |
| Alignment |
Short |
Controls the alignment of the cells in this column. | |
TableIndex |
Long |
Returns the index of an associated column in a SAP Table object if a connection to a SAP Table object is established.(See Connecting Table Views and Table Objects). | |
Value |
Long Row |
Variant |
Returns or sets the value for the cell with the corresponding Row index. |
Cell |
Long Row |
Object |
Returns a Cell object for the cell with the corresponding Row index. |
Formula |
Long Row |
Variant |
Same as value. |