▦K2 Advanced GridsDeveloper Portal / 0.24
Documentation / Getting started

First configuration

Start with filtering and the Active Filters Bar only. The provided template explicitly disables other modules.

Complete configuration

Use the reusable template for your own form. It uses the same engine as the demonstration.

Important — required configuration change

Replace REPLACE_WITH_YOUR_AREAITEMID with the actual Area Item ID of your own ListView before using this example. See Grid Discovery. Without a matching ID the engine cannot target your ListView.

Reusable template ↓
/*! K2 Advanced Grids | Author: Andrey Kholinov, 2026 */
window.K2AdvancedGridsConfig = {
    "language": "auto",
    "defaults": {
        "export": {
            "enabled": false
        },
        "cardView": {
            "enabled": false
        },
        "rowContextMenu": {
            "enabled": false
        },
        "rowGrouping": {
            "enabled": false
        },
        "cellMerging": {
            "enabled": false
        },
        "dataVisualization": {
            "enabled": false
        },
        "conditionalFormatting": {
            "enabled": false
        },
        "booleanFormatting": {
            "enabled": false
        },
        "preferences": {
            "enabled": false
        },
        "columnReordering": {
            "enabled": false
        },
        "columnPinning": {
            "enabled": false
        },
        "columnManagement": {
            "enabled": false
        },
        "columnResize": {
            "enabled": false
        },
        "horizontalScroll": {
            "enabled": false
        },
        "verticalScroll": {
            "enabled": false
        },
        "filtering": {
            "enabled": true
        },
        "activeFilters": {
            "enabled": true
        },
        "aggregation": {
            "enabled": false
        },
        "pagination": {
            "enabled": false
        },
        "autoDetectTypes": true
    },
    "grids": [
        {
            // REQUIRED: Set this to your own ListView Area Item ID.
            "areaItemId": "REPLACE_WITH_YOUR_AREAITEMID",
            "enabled": true
        }
    ]
};
window.K2GridFiltersConfig = window.K2AdvancedGridsConfig;

Expected result

Filter icons and category selection
Figure 02 · Filter icons and category selection · Actual K2 Runtime capture

To activate changes, increment the configuration version in the loader and reopen the form. For temporary changes, use the console examples in Advanced filtering.

Required after saving a configuration file

Update configVersion in the Data Label loader (for example from 0.3.0 to 0.4.0), save the form and reopen Runtime. Keep engineVersion unchanged unless the engine file was modified. Console-only experiments do not need a version change. See Installation & Deployment.

Enlarged screenshot