Skip to content

Commit

Permalink
feat(deps): Bump agGrid to v25
Browse files Browse the repository at this point in the history
close #90

BREAKING CHANGES:
AutocompleteSelectCellEditor doesn't have the gridOptionsWrapper anymore.
  • Loading branch information
termcaps committed Feb 1, 2021
1 parent cadb419 commit 7880895
Show file tree
Hide file tree
Showing 4 changed files with 2,317 additions and 4,457 deletions.
5 changes: 1 addition & 4 deletions ag-grid-autocomplete-editor.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
import {
Autowired,
GridOptionsWrapper,
IAfterGuiAttachedParams,
ICellEditorComp,
ICellEditorParams,
Expand All @@ -12,6 +10,7 @@ import './ag-grid-autocomplete-editor.scss';
// This import must be done with require because of TypeScript transpiler problems with export default
import autocomplete, {AutocompleteItem, EventTrigger} from './autocompleter/autocomplete';


const KEY_BACKSPACE = 8;
const KEY_DELETE = 46;
const KEY_ENTER = 13;
Expand Down Expand Up @@ -73,8 +72,6 @@ export class AutocompleteSelectCellEditor extends PopupComponent implements ICel
private required: boolean = false;
private stopEditing?: (cancel?: boolean) => void;

@Autowired('gridOptionsWrapper') private gridOptionsWrapper?: GridOptionsWrapper;

constructor() {
super('<div class="ag-wrapper ag-input-wrapper ag-text-field-input-wrapper ag-cell-editor-autocomplete-wrapper" style="padding: 0 !important;"><input class="ag-input-field-input ag-text-field-input ag-cell-editor-autocomplete-input" type="text"/></div>');
this.eInput = this.getGui().querySelector('input') as HTMLInputElement;
Expand Down
Loading

0 comments on commit 7880895

Please sign in to comment.