79528014

Date: 2025-03-22 19:41:41
Score: 1
Natty:
Report link

With CDN, instead of

import { someVariableName } from 'ag-grid-community',

just use

agGrid.someVariableName

wherever desired.

For example:

const gridOptions = {
  columnDefs: columnDefs,
  rowData: rowData,
  theme: agGrid.themeBalham.withPart(agGrid.colorSchemeDark),
};
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (0.5):
Posted by: kando