GridFeatures
Configs
1
Configs
1Specify which features to use on the grid. Most features accepts a boolean, some also accepts a config object. Please note that if you are not using the bundles you might need to import the features you want to use.
const grid = new Grid({
features : {
stripe : true, // Enable stripe feature
sort : 'name', // Configure sort feature
group : false // Disable group feature
}
}
Setting this property has no effect when using framework wrappers.
When using framework wrappers, features must be configured via featureNameFeature properties.
See Framework Integration Guide for details.
Properties
3
Properties
3Common
Map of the features available on the grid. Use it to access them on your grid object
grid.features.group.expandAll();
Class hierarchy
Identifies an object as an instance of GridFeatures class, or subclass thereof.
Identifies an object as an instance of GridFeatures class, or subclass thereof.
Functions
1
Functions
1Check if a feature is included
| Parameter | Type | Description |
|---|---|---|
name | String | Feature name, as registered with |
Returns: Boolean