Skip to content

Commit

Permalink
fix: add scrollRenderThrottling grid option, fixes #219
Browse files Browse the repository at this point in the history
- fixes #219 by providing `scrollRenderThrottling` grid option, defaults to 50ms, the user can decrease the throttling and see what is the best fit for them
  • Loading branch information
ghiscoding committed Jul 12, 2023
1 parent 74d1649 commit 9730b0c
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 145 deletions.
103 changes: 0 additions & 103 deletions src/models/columnEditor.interface.ts

This file was deleted.

3 changes: 3 additions & 0 deletions src/models/gridOption.interface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -446,6 +446,9 @@ export interface GridOption {
/** Optional sanitizer function to use for sanitizing data to avoid XSS attacks */
sanitizer?: (dirtyHtml: string) => string;

/** Defaults to 50, render throttling when scrolling large dataset */
scrollRenderThrottling: number;

/** CSS class name used when cell is selected */
selectedCellCssClass?: string;

Expand Down
Loading

0 comments on commit 9730b0c

Please sign in to comment.