define
redefines a single configuration property (or an object with properties)
function define( // object the property name or an object with properties that need redefining property: string|, // the new property value (has to be specified when defining the property as a string) value?: any): void
Example
Section titled “Example”// redefines the width of the gridmygrid.define("width", 300);mygrid.resize();
also check the next samples:
Details
Section titled “Details”The component should be refreshed to reflect the changes.
Redefining properties via “config” object
Section titled “Redefining properties via “config” object”You can also use the config property to change the desired configuration option:
mygrid.config.width = 300:mygrid.resize();