What's New Copy Link
See the release post for details of what's new in version 31.3.
Codemods Copy Link
Follow these steps to upgrade your project's AG Grid version to 31.3.1:
Locate your project's
package.jsonand note the version of AG Grid that you are currently using.Update any AG Grid dependencies listed in your project's
package.jsonto version31.3.1.Open a terminal and navigate to your project's root folder.
Run the
migratecommand of version31.3of the AG Grid codemod runner, where$FROM_VERSIONrefers to your project's existing AG Grid version:npx @ag-grid-devtools/cli@latest migrate --from=$FROM_VERSION --to=31.3This will update your project's source files to prepare for the new release.
By default the Codemod runner will locate all source files within the current directory. For projects with more specific requirements, pass a list of input files to the
migratecommand, or specify the--helpargument to see more fine-grained usage instructions.
The Codemod runner will check the state of your project to ensure that you don't lose any work. If you would rather see a diff of the changes instead of applying them, pass the --dry-run argument.
The codemod only transforms source files that make use of deprecated features, so if you aren't currently making use of any of those APIs your source code will be unaffected by the codemod.
See the Codemods documentation for more details.
Deprecations Copy Link
This release includes the following deprecations:
ToolPanelColumnCompParams - deprecated, use IToolPanelColumnCompParams instead.
GridOptions Copy Link
groupIncludeFooter- deprecated, usegroupTotalRowinstead.groupIncludeTotalFooter- deprecated, usegrandTotalRowinstead.footerValueGetter- deprecated, usetotalValueGetterinstead.
Grid API Copy Link
tabToNextCell-nullinput param type deprecated, provide boolean input param type instead.tabToNextHeaderCell-nullinput param type deprecated, provide boolean input param type instead.getValue- deprecated, usegetCellValueinstead.- Returning
nullfromtabToNextCellis deprecated. Instead, returntrueto stay on the current cell, orfalseto let the browser handle the tab behaviour. - Returning
nullfromtabToNextHeaderis deprecated. Instead, returntrueto stay on the current header, orfalseto let the browser handle the tab behaviour.