Ag-grid ionic

#1

Hello, did someone integrate ag-grid with ionic, if so, can you show me an example (HTML and TS). Thank you

#2

Yes I did five min ago.

#3

Hi gereksizcoder. I see that you integrated ag-grid a long time ago, but can you give me a clue to how to do it?

Thanks a lot in advance!

Regards

#4

I m not using ionic anymore. but in my old app

in package.json something like this. you can use current version

  "ag-grid": "^16.0.1",
  "ag-grid-angular": "^16.0.0",

also

you need to create copy.config.js

file in project root.

 "config": {
    "ionic_copy": "./copy.config.js"
  },

and copy.config.js

var copy = require('@ionic/app-scripts/config/copy.config.js');
copy.copyStyleSheets = {
  src: [
  '{{ROOT}}/node_modules/ag-grid/dist/styles/ag-theme-material.css',
  '{{ROOT}}/node_modules/ag-grid/dist/styles/ag-grid.css'
],
  dest: '{{WWW}}/assets/css'
};
module.exports = copy;

I don’t know if anything else required.