AfterRowRenderContext
Context passed to the afterRowRender plugin hook.
This provides efficient row-level access after all cells are rendered. Plugins receive this context for each row, enabling row-level modifications without requiring DOM queries in afterRender.
Example
Section titled “Example”afterRowRender(context: AfterRowRenderContext): void { if (this.isRowSelected(context.rowIndex)) { context.rowElement.classList.add('selected', 'row-focus'); }}Properties
Section titled “Properties”| Property | Type | Description |
|---|---|---|
row | TRow | The row data object |
rowIndex | number | Zero-based row index in the visible rows array |
rowElement | HTMLElement | The row DOM element - can be modified by the plugin |
AI assistants: For complete API documentation, implementation guides, and code examples for this library, see https://raw.githubusercontent.com/OysteinAmundsen/toolbox/main/llms-full.txt