Skip to content

Commit

Permalink
chore(cookbook-ag-grid): removing deprecated rangeSelection module
Browse files Browse the repository at this point in the history
  • Loading branch information
eikeland authored and odinr committed Jan 7, 2025
1 parent 8ced73e commit c126413
Show file tree
Hide file tree
Showing 3 changed files with 101 additions and 116 deletions.
19 changes: 9 additions & 10 deletions cookbooks/app-react-ag-grid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,15 @@
"typescript": "^5.5.4"
},
"dependencies": {
"@ag-grid-community/client-side-row-model": "~32.3.2",
"@ag-grid-community/core": "~32.3.2",
"@ag-grid-community/react": "~32.3.2",
"@ag-grid-community/styles": "^32.1.0",
"@ag-grid-enterprise/clipboard": "^32.0.0",
"@ag-grid-enterprise/column-tool-panel": "^32.0.0",
"@ag-grid-enterprise/excel-export": "^32.0.0",
"@ag-grid-enterprise/filter-tool-panel": "^32.0.0",
"@ag-grid-enterprise/menu": "^32.0.0",
"@ag-grid-enterprise/range-selection": "^32.0.0",
"@ag-grid-community/client-side-row-model": "32.3.0",
"@ag-grid-community/core": "32.3.0",
"@ag-grid-community/react": "32.3.0",
"@ag-grid-community/styles": "32.3.0",
"@ag-grid-enterprise/clipboard": "32.3.0",
"@ag-grid-enterprise/column-tool-panel": "32.3.0",
"@ag-grid-enterprise/excel-export": "32.3.0",
"@ag-grid-enterprise/filter-tool-panel": "32.3.0",
"@ag-grid-enterprise/menu": "32.3.0",
"@equinor/fusion-framework-module-ag-grid": "workspace:^",
"@equinor/fusion-react-ag-grid-styles": "^31.2.3"
}
Expand Down
5 changes: 1 addition & 4 deletions cookbooks/app-react-ag-grid/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import { FiltersToolPanelModule } from '@ag-grid-enterprise/filter-tool-panel';
import { MenuModule } from '@ag-grid-enterprise/menu';
import { ExcelExportModule } from '@ag-grid-enterprise/excel-export';
import { ClipboardModule } from '@ag-grid-enterprise/clipboard';
import { RangeSelectionModule } from '@ag-grid-enterprise/range-selection';

// Import custom table configuration
import { defaultColDef, sideBar } from './table';
Expand All @@ -23,7 +22,6 @@ ModuleRegistry.registerModules([
FiltersToolPanelModule,
MenuModule,
ExcelExportModule,
RangeSelectionModule,
ClipboardModule,
]);

Expand Down Expand Up @@ -91,9 +89,8 @@ export const App = (): JSX.Element => {
defaultColDef={defaultColDef}
sideBar={sideBar}
rowSelection={'multiple'}
suppressRowClickSelection={true}
enableRangeSelection={true}
copyHeadersToClipboard={true}
cellSelection={true}
allowContextMenuWithControlKey={true}
onGridReady={onGridReady}
/>
Expand Down
193 changes: 91 additions & 102 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c126413

Please sign in to comment.