@@ -30,7 +30,7 @@ import dxDraggable from 'devextreme/ui/draggable';
30
30
import { ColumnChooserMode , ColumnChooserSearchConfig , ColumnChooserSelectionConfig , ColumnResizeMode , DataChange , GridsEditMode , NewRowPosition , GridsEditRefreshMode , StartEditAction , GridBase , ApplyFilterMode , GroupExpandMode , HeaderFilterSearchConfig , EnterKeyAction , EnterKeyDirection , Pager , DataRenderMode , SelectionColumnDisplayMode , StateStoreType , SummaryType } from 'devextreme/common/grids' ;
31
31
import { PositionConfig } from 'devextreme/common/core/animation' ;
32
32
import { SortOrder , Mode , DragDirection , DragHighlight , ScrollbarMode , SingleMultipleOrNone , SelectAllMode , HorizontalAlignment } from 'devextreme/common' ;
33
- import { dxDataGridColumn , dxDataGridRowObject , DataGridExportFormat , AdaptiveDetailRowPreparingEvent , CellClickEvent , CellDblClickEvent , CellHoverChangedEvent , CellPreparedEvent , ContentReadyEvent , ContextMenuPreparingEvent , DataErrorOccurredEvent , DisposingEvent , EditCanceledEvent , EditCancelingEvent , EditingStartEvent , EditorPreparedEvent , EditorPreparingEvent , ExportingEvent , FocusedCellChangedEvent , FocusedCellChangingEvent , FocusedRowChangedEvent , FocusedRowChangingEvent , InitializedEvent , InitNewRowEvent , KeyDownEvent , OptionChangedEvent , RowClickEvent , RowCollapsedEvent , RowCollapsingEvent , RowDblClickEvent , RowExpandedEvent , RowExpandingEvent , RowInsertedEvent , RowInsertingEvent , RowPreparedEvent , RowRemovedEvent , RowRemovingEvent , RowUpdatedEvent , RowUpdatingEvent , RowValidatingEvent , SavedEvent , SavingEvent , SelectionChangedEvent , ToolbarPreparingEvent , DataGridScrollMode , SelectionSensitivity , dxDataGridToolbar } from 'devextreme/ui/data_grid' ;
33
+ import { dxDataGridColumn , EditingOptions , dxDataGridRowObject , DataGridExportFormat , AdaptiveDetailRowPreparingEvent , CellClickEvent , CellDblClickEvent , CellHoverChangedEvent , CellPreparedEvent , ContentReadyEvent , ContextMenuPreparingEvent , DataErrorOccurredEvent , DisposingEvent , EditCanceledEvent , EditCancelingEvent , EditingStartEvent , EditorPreparedEvent , EditorPreparingEvent , ExportingEvent , FocusedCellChangedEvent , FocusedCellChangingEvent , FocusedRowChangedEvent , FocusedRowChangingEvent , InitializedEvent , InitNewRowEvent , KeyDownEvent , OptionChangedEvent , RowClickEvent , RowCollapsedEvent , RowCollapsingEvent , RowDblClickEvent , RowExpandedEvent , RowExpandingEvent , RowInsertedEvent , RowInsertingEvent , RowPreparedEvent , RowRemovedEvent , RowRemovingEvent , RowUpdatedEvent , RowUpdatingEvent , RowValidatingEvent , SavedEvent , SavingEvent , SelectionChangedEvent , ToolbarPreparingEvent , DataGridScrollMode , SelectionSensitivity , dxDataGridToolbar } from 'devextreme/ui/data_grid' ;
34
34
import { DataSourceOptions } from 'devextreme/data/data_source' ;
35
35
import { Store } from 'devextreme/data/store' ;
36
36
import { dxFormOptions } from 'devextreme/ui/form' ;
@@ -494,10 +494,10 @@ export class DxDataGridComponent<TRowData = any, TKey = any> extends DxComponent
494
494
495
495
*/
496
496
@Input ( )
497
- get editing ( ) : { allowAdding ?: boolean , allowDeleting ?: boolean | ( ( options : any | { component : dxDataGrid , row : dxDataGridRowObject } ) => boolean ) , allowUpdating ?: boolean | ( ( options : any | { component : dxDataGrid , row : dxDataGridRowObject } ) => boolean ) , changes ?: Array < DataChange > , confirmDelete ?: boolean , editColumnName ?: string , editRowKey ?: any , form ?: dxFormOptions , mode ?: GridsEditMode , newRowPosition ?: NewRowPosition , popup ?: dxPopupOptions < any > , refreshMode ?: GridsEditRefreshMode , selectTextOnEditStart ?: boolean , startEditAction ?: StartEditAction , texts ?: any | { addRow ?: string , cancelAllChanges ?: string , cancelRowChanges ?: string , confirmDeleteMessage ?: string , confirmDeleteTitle ?: string , deleteRow ?: string , editRow ?: string , saveAllChanges ?: string , saveRowChanges ?: string , undeleteRow ?: string , validationCancelChanges ?: string } , useIcons ?: boolean } {
497
+ get editing ( ) : { allowAdding ?: boolean , allowDeleting ?: boolean | ( ( options : EditingOptions | { component : dxDataGrid , row : dxDataGridRowObject } ) => boolean ) , allowUpdating ?: boolean | ( ( options : EditingOptions | { component : dxDataGrid , row : dxDataGridRowObject } ) => boolean ) , changes ?: Array < DataChange > , confirmDelete ?: boolean , editColumnName ?: string , editRowKey ?: any , form ?: dxFormOptions , mode ?: GridsEditMode , newRowPosition ?: NewRowPosition , popup ?: dxPopupOptions < any > , refreshMode ?: GridsEditRefreshMode , selectTextOnEditStart ?: boolean , startEditAction ?: StartEditAction , texts ?: any | { addRow ?: string , cancelAllChanges ?: string , cancelRowChanges ?: string , confirmDeleteMessage ?: string , confirmDeleteTitle ?: string , deleteRow ?: string , editRow ?: string , saveAllChanges ?: string , saveRowChanges ?: string , undeleteRow ?: string , validationCancelChanges ?: string } , useIcons ?: boolean } {
498
498
return this . _getOption ( 'editing' ) ;
499
499
}
500
- set editing ( value : { allowAdding ?: boolean , allowDeleting ?: boolean | ( ( options : any | { component : dxDataGrid , row : dxDataGridRowObject } ) => boolean ) , allowUpdating ?: boolean | ( ( options : any | { component : dxDataGrid , row : dxDataGridRowObject } ) => boolean ) , changes ?: Array < DataChange > , confirmDelete ?: boolean , editColumnName ?: string , editRowKey ?: any , form ?: dxFormOptions , mode ?: GridsEditMode , newRowPosition ?: NewRowPosition , popup ?: dxPopupOptions < any > , refreshMode ?: GridsEditRefreshMode , selectTextOnEditStart ?: boolean , startEditAction ?: StartEditAction , texts ?: any | { addRow ?: string , cancelAllChanges ?: string , cancelRowChanges ?: string , confirmDeleteMessage ?: string , confirmDeleteTitle ?: string , deleteRow ?: string , editRow ?: string , saveAllChanges ?: string , saveRowChanges ?: string , undeleteRow ?: string , validationCancelChanges ?: string } , useIcons ?: boolean } ) {
500
+ set editing ( value : { allowAdding ?: boolean , allowDeleting ?: boolean | ( ( options : EditingOptions | { component : dxDataGrid , row : dxDataGridRowObject } ) => boolean ) , allowUpdating ?: boolean | ( ( options : EditingOptions | { component : dxDataGrid , row : dxDataGridRowObject } ) => boolean ) , changes ?: Array < DataChange > , confirmDelete ?: boolean , editColumnName ?: string , editRowKey ?: any , form ?: dxFormOptions , mode ?: GridsEditMode , newRowPosition ?: NewRowPosition , popup ?: dxPopupOptions < any > , refreshMode ?: GridsEditRefreshMode , selectTextOnEditStart ?: boolean , startEditAction ?: StartEditAction , texts ?: any | { addRow ?: string , cancelAllChanges ?: string , cancelRowChanges ?: string , confirmDeleteMessage ?: string , confirmDeleteTitle ?: string , deleteRow ?: string , editRow ?: string , saveAllChanges ?: string , saveRowChanges ?: string , undeleteRow ?: string , validationCancelChanges ?: string } , useIcons ?: boolean } ) {
501
501
this . _setOption ( 'editing' , value ) ;
502
502
}
503
503
@@ -1678,7 +1678,7 @@ export class DxDataGridComponent<TRowData = any, TKey = any> extends DxComponent
1678
1678
* This member supports the internal infrastructure and is not intended to be used directly from your code.
1679
1679
1680
1680
*/
1681
- @Output ( ) editingChange : EventEmitter < { allowAdding ?: boolean , allowDeleting ?: boolean | ( ( options : any | { component : dxDataGrid , row : dxDataGridRowObject } ) => boolean ) , allowUpdating ?: boolean | ( ( options : any | { component : dxDataGrid , row : dxDataGridRowObject } ) => boolean ) , changes ?: Array < DataChange > , confirmDelete ?: boolean , editColumnName ?: string , editRowKey ?: any , form ?: dxFormOptions , mode ?: GridsEditMode , newRowPosition ?: NewRowPosition , popup ?: dxPopupOptions < any > , refreshMode ?: GridsEditRefreshMode , selectTextOnEditStart ?: boolean , startEditAction ?: StartEditAction , texts ?: any | { addRow ?: string , cancelAllChanges ?: string , cancelRowChanges ?: string , confirmDeleteMessage ?: string , confirmDeleteTitle ?: string , deleteRow ?: string , editRow ?: string , saveAllChanges ?: string , saveRowChanges ?: string , undeleteRow ?: string , validationCancelChanges ?: string } , useIcons ?: boolean } > ;
1681
+ @Output ( ) editingChange : EventEmitter < { allowAdding ?: boolean , allowDeleting ?: boolean | ( ( options : EditingOptions | { component : dxDataGrid , row : dxDataGridRowObject } ) => boolean ) , allowUpdating ?: boolean | ( ( options : EditingOptions | { component : dxDataGrid , row : dxDataGridRowObject } ) => boolean ) , changes ?: Array < DataChange > , confirmDelete ?: boolean , editColumnName ?: string , editRowKey ?: any , form ?: dxFormOptions , mode ?: GridsEditMode , newRowPosition ?: NewRowPosition , popup ?: dxPopupOptions < any > , refreshMode ?: GridsEditRefreshMode , selectTextOnEditStart ?: boolean , startEditAction ?: StartEditAction , texts ?: any | { addRow ?: string , cancelAllChanges ?: string , cancelRowChanges ?: string , confirmDeleteMessage ?: string , confirmDeleteTitle ?: string , deleteRow ?: string , editRow ?: string , saveAllChanges ?: string , saveRowChanges ?: string , undeleteRow ?: string , validationCancelChanges ?: string } , useIcons ?: boolean } > ;
1682
1682
1683
1683
/**
1684
1684
0 commit comments