DataColumn Class
Namespace: Stimulsoft.System.Data
Constructors
| Constructor | Description |
|---|---|
| constructor(string columnName, Type dataType, string caption) |
constructor(columnName: string, dataType: Type, caption: string)
Parameters
- columnName (string)
- dataType (Type)
- caption (string)
Properties
| Property | Type | Description |
|---|---|---|
| caption | string |
Methods
| Method | Returns | Description |
|---|---|---|
| changeType | void | |
| clone | DataColumn | |
| getRecord | any | |
| setRecord | void | |
| setTable | void |
Method Details
changeType
changeType(dataType: Type): void
Parameters
- dataType (Type)
clone
clone(): DataColumn
Returns DataColumn
getRecord
getRecord(record: number): any
Parameters
- record (number)
Returns any
setRecord
setRecord(record: number, value: any): void
Parameters
- record (number)
- value (any)
setTable
setTable(table: DataTable): void
Parameters
- table (DataTable)
Fields
| Field | Type | Description |
|---|---|---|
| columnName | any | |
| dataType | Type | |
| storage | DataStorage | |
| table | DataTable |