In your module
In your component template
Finally don't forget to add gridjs theme in your index.html
You can pass all Grid.js configs to the
<gridjs-angular>component as inputs. See Grid.js Config for more details.
gridConfigYou can pass Grid.js config as one object and it will be merged with other Grid.js inputs.
pluginsGrid.js plugins array. See Grid.js Plugins
- You can pass all Grid.js events as outputs with a little difference
loadevent renamed to
beforeLoad. See Grid.js Events
Can I use Grid.js rendering helpers? Yes
hfunction is working fine. See this example plugin.
- You can also use
htmlin column formatter like this.