In order to use a Grid.js instance, you need to configure it first. Grid.js accepts a configuration object which can be updated using:
Simply pass your configuration object to the
Grid constructor to configure the instance. It is possible to update this
config later on.
A full list of config object properties is defined in the Config section of this document
It is also possible to create an empty Grid.js instance and update the configs later on (and before calling the
Or to just simply update an existing key in the config object:
The examples directory has an interactive editor that you can use to see the effect config properties live.