Methods
Static
buildByTypedRows
- buildByTypedRows<T>(rows, columnDefs, tableOptions?, fixedLeftColumnCount?, fixedRightColumnCount?): TableModelIf
Parameters
rows: T[]
fixedLeftColumnCount: number = 0
fixedRightColumnCount: number = 0
Static
buildByTypedRowsParam
- buildByTypedRowsParam<T>(param): TableModelIf
Parameters
param: {
columnDefs: ColumnDefIf[];
fixedLeftColumnCount?: number;
fixedRightColumnCount?: number;
rows: T[];
tableOptions?: TableOptionsIf;
}
Optional
fixedLeftColumnCount?: number
Optional
fixedRightColumnCount?: number
rows: T[]
Static
createByAreaModels
- createByAreaModels(headerAreaModel?, bodyAreaModel, footerAreaModel?, fixedLeftColumnCount?, fixedRightColumnCount?, rowCheckboxVisible?, defaultRowHeights?, columnDefs, columnSizes?, overridingColumnWidth?, columnCount): TableModel
Parameters
headerAreaModel: AreaModelIf = ...
footerAreaModel: AreaModelIf = ...
fixedLeftColumnCount: number = 0
fixedRightColumnCount: number = 0
rowCheckboxVisible: boolean = false
columnSizes: number[] = []
overridingColumnWidth: number = -1
columnCount: number
Static
createByAreaModelsParam
- createByAreaModelsParam(param): TableModel
Parameters
param: {
bodyAreaModel: AreaModelIf;
columnCount?: number;
columnDefs?: ColumnDefIf[];
columnSizes?: number[];
defaultRowHeights?: DefaultRowHeightsIf;
fixedLeftColumnCount?: number;
fixedRightColumnCount?: number;
footerAreaModel?: AreaModelIf;
headerAreaModel?: AreaModelIf;
overridingColumnWidth?: number;
rowCheckboxVisible?: boolean;
}
Optional
columnCount?: number
Optional
columnDefs?: ColumnDefIf[]
Optional
columnSizes?: number[]
Optional
fixedLeftColumnCount?: number
Optional
fixedRightColumnCount?: number
Optional
footerAreaModel?: AreaModelIf
Optional
headerAreaModel?: AreaModelIf
Optional
overridingColumnWidth?: number
Optional
rowCheckboxVisible?: boolean
Static
createByObjectArray
- createByObjectArray<T>(rows, header?, footer?, fixedLeftColumnCount?, fixedRightColumnCount?, rowCheckboxVisible?, defaultRowHeights?, columnDefs, columnSizes?): TableModel
Parameters
rows: T[]
header: string[][] = []
footer: string[][] = []
fixedLeftColumnCount: number = 0
fixedRightColumnCount: number = 0
rowCheckboxVisible: boolean = false
columnSizes: number[] = []
Static
createByObjectArrayParam
- createByObjectArrayParam<T>(param): TableModel
Parameters
param: {
columnDefs?: ColumnDefIf[];
columnSizes?: number[];
defaultRowHeights?: DefaultRowHeightsIf;
fixedLeftColumnCount?: number;
fixedRightColumnCount?: number;
footer?: string[][];
header?: string[][];
rowCheckboxVisible?: boolean;
rows: T[];
}
Optional
columnDefs?: ColumnDefIf[]
Optional
columnSizes?: number[]
Optional
fixedLeftColumnCount?: number
Optional
fixedRightColumnCount?: number
Optional
footer?: string[][]
Optional
header?: string[][]
Optional
rowCheckboxVisible?: boolean
rows: T[]
Static
createTableModel
- createTableModel(p): TableModelIf
Parameters
p: Partial<{
bodyAreaModel: AreaModelIf;
bodyData: any[][];
columnCount: number;
columnDefs: ColumnDefIf[];
columnSizes: number[];
defaultRowHeights: DefaultRowHeightsIf;
fixedLeftColumnCount: number;
fixedRightColumnCount: number;
footerAreaModel: AreaModelIf;
footerData: string[][];
getSelectionModel: GetT<SelectionModelIf>;
headerAreaModel: AreaModelIf;
headerData: string[][];
overridingColumnWidth: number;
parentSize: number;
properties: string[];
rowCheckboxVisible: boolean;
rows: any[];
tableOptions: TableOptionsIf;
}>