Skip to content

Commit

Permalink
chore: remove unused grid option auto
Browse files Browse the repository at this point in the history
  • Loading branch information
ghiscoding-SE committed Dec 11, 2023
1 parent feb4575 commit ace2c70
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
1 change: 0 additions & 1 deletion packages/common/src/core/slickGrid.ts
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,6 @@ export class SlickGrid<TData = any, C extends Column<TData> = Column<TData>, O e
asyncPostRenderDelay: 50,
enableAsyncPostRenderCleanup: false,
asyncPostRenderCleanupDelay: 40,
auto: false,
nonce: '',
editorLock: SlickGlobalEditorLock,
showColumnHeader: true,
Expand Down
5 changes: 1 addition & 4 deletions packages/common/src/interfaces/gridOption.interface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,9 @@ export interface CellViewportRange {
}

export interface CustomDataView<T = any> {
getLength: () => number;
getItem: (index: number) => T;
getItemMetadata(index: number): ItemMetadata | null;
getLength: () => number;
}

export interface CssStyleHash {
Expand Down Expand Up @@ -79,9 +79,6 @@ export interface GridOption<C extends Column = Column> {
/** Defaults to 40, which is the delay before the asynchronous post renderer start cleanup execution */
asyncPostRenderCleanupDelay?: number;

// TODO: not sure what that option does?
auto?: boolean;

/**
* Automatically add a Custom Formatter on all column definitions that have an Editor.
* Instead of manually adding a Custom Formatter on every column definitions that are editables, let's ask the system to do it in an easier automated way.
Expand Down

0 comments on commit ace2c70

Please sign in to comment.