Skip to content
This repository was archived by the owner on Jun 1, 2025. It is now read-only.

Commit 3ffd4e9

Browse files
Ghislain BeaulacGhislain Beaulac
authored andcommitted
Add column inline onCellChange property
1 parent 077b167 commit 3ffd4e9

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

src/app/modules/angular-slickgrid/models/column.interface.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { Editor } from './editor.interface';
22
import { FieldType } from './fieldType';
33
import { Formatter } from './formatter.interface';
4-
import { OnCellClickArgs } from './onCellClickArgs.interface';
4+
import { OnEventArgs } from './onEventArgs.interface';
55
import { Sorter } from './sorter.interface';
66

77
export interface Column {
@@ -28,7 +28,8 @@ export interface Column {
2828
maxWidth?: number;
2929
minWidth?: number;
3030
name?: string;
31-
onCellClick?: (args: OnCellClickArgs) => void;
31+
onCellChange?: (args: OnEventArgs) => void;
32+
onCellClick?: (args: OnEventArgs) => void;
3233
previousWidth?: number;
3334
resizable?: boolean;
3435
rerenderOnResize?: boolean;

src/app/modules/angular-slickgrid/models/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export { HtmlElementPosition } from './htmlElementPosition.interface';
2525
export { KeyCode } from './keyCode.enum';
2626
export { GridOption } from './gridOption.interface';
2727
export { OdataOption } from './odataOption.interface';
28-
export { OnCellClickArgs } from './onCellClickArgs.interface';
28+
export { OnEventArgs } from './onEventArgs.interface';
2929
export { OperatorType } from './operatorType';
3030
export { Pagination } from './pagination.interface';
3131
export { PaginationChangedArgs } from './paginationChangedArgs.interface';

0 commit comments

Comments
 (0)