GridFeatures

Configs

1

Specify 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

Common

features: ObjectreadonlyAlso a config

Map of the features available on the grid. Use it to access them on your grid object

grid.features.group.expandAll();

Class hierarchy

isGridFeatures: Boolean= truereadonly
Identifies an object as an instance of GridFeatures class, or subclass thereof.
isGridFeatures: Boolean= truereadonlystatic
Identifies an object as an instance of GridFeatures class, or subclass thereof.

Functions

1

Check if a feature is included

ParameterTypeDescription
nameString

Feature name, as registered with GridFeatureManager.registerFeature()

Returns: Boolean