Javascript API Reference
tblDragEvents.methods
The tblDragEvents api is a plain JavaScript object with 1 property: methods. Methods is a function that returns various properties and functions that can be referenced from tblDragEvents.methods on the top-level of the Window object. After loading the enterprise script, you reference the tblDragEvents API in your own scripts like: tblDragEvents.methods.someProperty or tblDragEvents.methods.someFunction
Properties
-
colDragStartFrmCellTracker: object
Tracks a column name and screen coordinates for a potential resize mouse event within cells -
colDragStartFrmHeaderTracker: object
Tracks a column name and screen coordinates for a potential resize mouse event on column headers -
colMoving: boolean
Tells the runtime if a column is being dragged -
didResizeOnEvent: boolean
A cleanup signal for mouseup events that tells if a column's width was indeed resized -
tblDragStartFrmPagiTracker: object
Tracks screen coordinates when mouse events are engaging in a data grid height adjustment from the footer
Functions
-
checkItemBorderCursor
args: event
Detects if the cursor should indicate that a click and drag resize can be performed on data grid cells and headers -
checkPaginatorBorderCursor
args: event
Detects if the cursor should indicate that a click and drag resize can be performed on the data grid footer area -
handleHeaderSizeAdjust
args: event
Processes events resizing headers -
handleCellSizeAdjust
args: event
Processes events resizing cells -
handleTableHeightAdjust
args: event
Processes events resizing the data grid height -
doHeaderWidth
args: event
Processes events resizing a single column header's width -
doHeaderHeight
args: event
Sets the uniform height for all headers -
doCellWidth
args: event
Sets the uniform width for a column based on a cell width -
doRowHeight
args: event
Sets the uniform height for all cells in a row -
doTblHeight
args: event
Sets the uniform height for all headers -
handleColResMouseUp
args: event
Sets the uniform height for all headers -
handleColResDblClick
args: event
Handles a double click of a column, which should expand or keep the width at the minimum width needed to eliminate a horizontal scroll bar -
handleColMoveMouseUp
args: event
Handles the clean up events after a column has been dragged to a different ordinal position in the grid. -
reinitBFrzOnReord
args: HTML Element
Resets which column can be frozen (always only the first column) after moving a column's ordinal position -
stopWindowSelection
args: event
Stops highlighting of elements on click and drag operations related to this api