number
The current horizontal scroll offset in pixels.
number
The max horizontal scroll offset in pixels.
number
The available width upon which horizontal scrolling is possible.
i.e, this is the width of the scrollable region of the table's viewport.
number
The height of the group header in pixels.
Boolean
Whether the table is in Right To Left mode.
A - 0
B - 1
X - 2
Y - 3
Z - 4
getColumn(columnIndex: number) => Column
Get the column at the given index.
Get the column group at the given index.
getColumnGroup(columnGroupIndex: number) => ColumnGroup
Get the column group for the given child column index.
getColumnGroupByChild(columnIndex: number, cellGroupType: CellGroupType) => ColumnGroup
Get the column at given offset (in px) in relation to the specified CellGroup.
getColumnAtOffset(offset: number, cellGroupType: CellGroupType) => Column
Get the column group at given offset (in px) in relation to the specified CellGroup.
getColumnGroupAtOffset(offset: number, cellGroupType: CellGroupType) => ColumnGroup
Get the total width of the specified CellGroup.
getCellGroupWidth(cellGroupType: CellGroupType) => number
Get the total count of columns under the specified CellGroup.
If cellGroupType
isn't specified, then this returns the total count of columns.
getColumnCount(cellGroupType?: CellGroupType) => number
Get the total count of column groups under the specified CellGroup.
If cellGroupType
isn't specified, then this returns the total count of column groups.
getColumnGroupCount(cellGroupType?: CellGroupType) => number
Scrolls the table to given horizontal offset.
function(scrollX: number)
interface Column {
columnKey?: string
index: number
offset: number
width: number
}
interface ColumnGroup {
columnKey?: string
index: number
offset: number
width: number
}
enum CellGroupType {
SCROLLABLE = "scrollable"
FIXED = "fixed"
FIXED_RIGHT = "fixedRight"
}