@blueprintjs/table
Version:
Scalable interactive table component
23 lines (22 loc) • 940 B
TypeScript
export declare enum RenderMode {
/**
* Renders cells in batches across multiple animation frames. This improves
* performance by spreading out work to keep a high FPS and avoid blocking
* the UI, but it also introduces a noticeable scan-line rendering artifact
* as successive batches of cells finish rendering.
*/
BATCH = "batch",
/**
* Renders all cells synchronously on initial mount, then renders cells in
* batches on successive updates (e.g. during scrolling). This helps to
* remove visual rendering artifacts when the table is first rendered,
* wihout slowing scrolling performance to a crawl.
*/
BATCH_ON_UPDATE = "batch-on-update",
/**
* Disables the batch-rendering behavior, rendering all cells synchronously
* at once. This may result in degraded performance on large tables and/or
* on tables with complex cells.
*/
NONE = "none"
}