@Input() dragAndDropGhostFilter : () => boolean |
[Deprecated] Takes a function that returns a boolean value. This function filters elements out of the drag and drop ghost filter |
@Input() linkClass : string |
A class that links various tablejs-grid components together to share the same behavior during column reordering and resizing |
@Input() resizeColumnWidthByPercent : boolean |
Enables/disables column width resizing calculation by percentage. Column resize calculation defaults to using pixels. |
@Output() columnResizeStart : (e: ColumnResizeEvent) => void |
Emits a single ColumnResizeEvent when a column begins resizing. |
@Output() columnResize : (e: ColumnResizeEvent) => void |
Emits a ColumnResizeEvent every time the mouse moves during column resize. |
@Output() columnResizeEnd : (e: ColumnResizeEvent) => void |
Emits a single ColumnResizeEvent when a column is released after it is resized. |
@Output() columnReorderStart : (e: ColumnReorderEvent) => void |
Emits a single ColumnReorderEvent when a column begins reordering. |
@Output() columnReorder : (e: ColumnReorderEvent) => void |
Emits a ColumnReorderEvent every time the mouse moves during column reorder. |
@Output() columnReorderEnd : (e: ColumnReorderEvent) => void |
Emits a single ColumnReorderEvent when a column is released after it is reordered. |
@Output() gridInitialize : (e: GridEvent) => void |
Emits a single GridEvent when the grid has initialized. |
dragging : boolean |
Returns whether a column is being dragged. |
reordering : boolean |
Returns whether a column is being reordered. |
startX : number |
Holds horizontal coordinate of the users mouse pointer when a mouse event is triggered. |
startY : number |
Holds vertical coordinate of the users mouse pointer when a mouse event is triggered. |
viewport : HTMLElement |
The tbody tag to which the tablejsViewport directive belongs. |
viewportID : string |
The id attribute value on the viewport element. |
startingWidths : number[] |
Holds starting width of column in pixels. |
minWidths : number[] |
Holds starting minimum width of column in pixels. |
gridTemplateClasses : string[] |
Holds the list of CSS class names associated with the grid’s columns. |
gridOrder : number[] |
Holds a numerical representation of column order in the grid. |
classWidths : any[] |
Holds the widths of each column. If the columns are resized in pixels, these widths will be held as a number (e.g. 100). If the columns are resized in percentages, these will be held as string value percentages (e.g. “25%”). |
draggingColumn : HTMLElement |
The th element currently being dragged. |
colRangeGroups : number[][][] |
Holds the columns span ranges for each column group. |
lastDraggedOverElement : any |
The last th column used for dragging. |
resizableColumns : HTMLElement[] |
Holds a collection of all resizable columns. |
resizableGrips : HTMLElement[] |
Hold a collection of elements that can be grabbed to resize columns. |
reorderGrips : HTMLElement[] |
Hold a collection of elements that can be grabbed to reorder columns. |
reorderableColumns : HTMLElement[] |
Holds a collection of columns that can be reordered. |
columnsWithDataClasses : HTMLElement[] |
Holds a collection of th elements using a DataColCassesDirective . |
rows : HTMLElement[] |
The tr elements on the grid containing a GridRowDirective . |
infiniteScrollViewports : HTMLElement[] |
A list of tbody elements for scrolling table content. |
initialWidths : any[] |
Returns in the initial width values of columns on the grid. Columns resized in pixels will return a number value (e.g. 100), while columns resized in percentages will return a percentage value as a string (e.g. “25%”). |
parentGroups : Element[][] |
A collection of th elements, sorted by their order in the hierarchical tree. |
elementsWithHighlight : any[] |
Hold a list of objects with elements and their corresponding highlight directions |
dragAndDropGhostComponent : DragAndDropGhostComponent |
The DragAndDropGhostComponent displayed when the use is dragging a column. |
dragOffsetX : number |
The horizontal offset of an element as it is being moved from its previous position. |
dragOffsetY : number |
The vertical offset of an element as it is being moved from its previous position. |
scrollViewportDirective : ScrollViewportDirective | null |
The ScrollViewportDirective associated with this GridDirective . |
hiddenColumnChanges : Subject<IColumnHideChange> |
Observable for catching IColumnHideChange events. |