Optional
options: RevGridOptions<BGS, BCS, SF>Readonly
canvasReadonly
clientReadonly
columnsReadonly
externalReadonly
focusReadonly
horizontalReadonly
hostReadonly
idReadonly
internalReadonly
mainReadonly
mouseReadonly
rendererReadonly
selectionReadonly
settingsReadonly
subgridsReadonly
verticalReadonly
viewThe number of pixels that the scroll anchored column is offset. Changes to allow smooth scrolling
Optional
includeDynamicAll: booleanOptional
includeDynamicAll: booleanOptional
subgrid: RevMainSubgrid<BCS, SF>Optional
includeDynamicAll: booleanCall before multiple selection changes to consolidate SelectionChange events. Pair with endSelectionChange().
Optional
subgrid: RevSubgrid<BCS, SF>Optional
subgrid: RevMainSubgrid<BCS, SF>Removes a columns from the selection.
The list of column selection areas will be updated to reflect the necessary deletion, splitting or resizing required.
The index of the active column to remove.
Removes a range of columns from the selection.
The list of column selection areas will be updated to reflect the necessary deletion, splitting or resizing required.
The start index of the range of active columns to deselect if count
is positive, or the exclusive end index if count
is negative.
The number of columns to deselect. If negative, count
is in reverse direction from the exclusive end index.
Optional
subgrid: RevSubgrid<BCS, SF>Optional
subgrid: RevSubgrid<BCS, SF>Be a responsible citizen and call this function on instance disposal!
If multiple grids are used in an application (simultaneously or not), then destroy()
must be called otherwise
canvase paint loop will continue to run
Call after multiple selection changes to consolidate SelectionChange events. Pair with beginSelectionChange().
Find cell under offset position in canvas
X position of pixel in canvas.
Y position of pixel in canvas.
Optional
subgrid: RevSubgrid<BCS, SF>Optional
ensureFullyInView: RevEnsureFullyInViewEnumOptional
subgrid: RevSubgrid<BCS, SF>Optional
ensureFullyInView: RevEnsureFullyInViewEnumOptional
subgrid: RevSubgrid<BCS, SF>Optional
ensureFullyInView: RevEnsureFullyInViewEnumOptional
subgrid: RevSubgrid<BCS, SF>Optional
ensureFullyInView: RevEnsureFullyInViewEnumOptional
subgrid: RevSubgrid<BCS, SF>Optional
ensureFullyInView: RevEnsureFullyInViewEnumOptional
subgrid: RevSubgrid<BCS, SF>Optional
ensureFullyInView: RevEnsureFullyInViewEnumData x coordinate.
The properties for a specific column.
The untranslated column index.
The width of the given column.
Optional
subgrid: RevSubgrid<BCS, SF>The pixel location of the mouse in physical grid coordinates.
The pixel based bounds rectangle given a data cell point.
The HiDPI ratio.
Optional
subgrid: RevSubgrid<BCS, SF>Objects with the values that were just rendered.
The row index.
The height of the given (recently rendered) row.
The column index.
The width of the given (recently rendered) column.
The untranslated fixed column index.
Optional
subgrid: RevSubgrid<BCS, SF>The height of the given row
Optional
includeDynamicAll: booleanOptional
subgrid: RevMainSubgrid<BCS, SF>Optional
includeDynamicAll: booleanOptional
includeDynamicAll: booleanOptional
subgrid: RevMainSubgrid<BCS, SF>Retrieve a data row from the main data model.
the row index of interest
Optional
subgrid: RevSubgrid<BCS, SF>The data row object at y index.
Gets the number of rows in the main subgrid.
The number of rows.
Retrieve all data rows from the data model. Use with caution!
Optional
subgrid: RevSubgrid<BCS, SF>The number of columns that were just rendered
The number of rows that were just rendered
Optional
ui: booleanWe have focus.
Optional
subgrid: RevSubgrid<BCS, SF>The column index in question.
The grid row index in question.
Optional
subgrid: RevMainSubgrid<BCS, SF>The given cell is fully is visible.
The column index in question.
The given column is fully visible.
Returns undefined if not selected, false if selected with others, true if the only cell selected
Optional
subgrid: RevSubgrid<BCS, SF>Optional
selectedType: "dynamicAll" | "rectangle" | "row" | "column"Get the visibility of the row matching the provided data row index.
The data row index.
Optional
subgrid: RevSubgrid<BCS, SF>The given row is visible.
Optional
subgrid: RevSubgrid<BCS, SF>Optional
subgrid: RevSubgrid<BCS, SF>Optional
subgrid: RevSubgrid<BCS, SF>Reset all components, resize and invalidate all
Optional
subgrid: RevSubgrid<BCS, SF>Optional
subgrid: RevSubgrid<BCS, SF>Optional
subgrid: RevSubgrid<BCS, SF>Optional
subgrid: RevSubgrid<BCS, SF>Optional
subgrid: RevSubgrid<BCS, SF>Establish new data and schema. If no data provided, data will be set to 0 rows.
Array of congruent uniform objects containing the grid data and possibly also header rows.
Optional
headerRowCount: numberNumber of Header rows. If greater than 0, then the initial rows in data actually contain headers. They should be stripped from data and included in header. If less than 0, then there should be one header row and the header values should be derived from column names in data.
Set the height of the given row.
The row index.
The width in pixels.
Optional
subgrid: RevSubgrid<BCS, SF>Optional
subgrid: RevSubgrid<BCS, SF>Show inactive column(s) or move active column(s).
A column index or array of field indices which are to be shown or hidden.
Optional
insertIndex: numberActive index of column to insert before. Set to undefined to add new active columns at end of list. Set to -1 to hide specified columns.
Optional
allowDuplicateColumns: booleanIf true, then if an existing column is already visible, it will not be removed and duplicates of that column will be present. Default: false.
Optional
ui: booleanWhether this was instigated by a UI action. Default: true.
Show inactive column(s) or move active column(s).
If true, then column indices specify active column indices. Otherwise field column indices.
Optional
fieldColumnIndexes: number | number[]A column index or array of indices. If undefined then all of the columns as per indexesAreActive.
Optional
insertIndex: numberActive index of column to insert before. Set to undefined to add new active columns at end of list. Set to -1 to hide specified columns.
Optional
allowDuplicateColumns: booleanIf true, then if an existing column is already visible, it will not be removed and duplicates of that column will be present. Default: false.
Optional
ui: booleanWhether this was instigated by a UI action. Default: true.
Optional
subgrid: RevSubgrid<BCS, SF>Optional
subgrid: RevSubgrid<BCS, SF>Optional
subgrid: RevMainSubgrid<BCS, SF>Optional
cell: RevViewCell<BCS, SF>Optional
subgrid: RevMainSubgrid<BCS, SF>
The index of the active column which is first in view (either on left or right depending on Grid alignment)