▦K2 Advanced GridsDeveloper Portal / 0.23
Documentation / Getting started

Grid discovery

Find the runtime Area Item ID without installing Advanced Grids.

Quick discovery

Open the target form in Runtime, open browser Developer Tools → Console, and run the following script. Use the returned Area Item ID, not the SmartObject ID.

/* K2 Advanced Grids | Author: Andrey Kholinov, 2026 */
console.table(Array.from(document.querySelectorAll('.grid[data-areaitemid]')).map((grid, index) => ({
    index: index + 1,
    areaItemId: grid.getAttribute('data-areaitemid'),
    columns: Array.from(grid.querySelectorAll('.grid-column-header-text')).map(el => el.textContent.trim()).join(', ')
})));
Download diagnostic script ↓
Quick discovery returns the Area Item ID and column headers
Figure 09 · Quick discovery returns the Area Item ID and column headers · Actual K2 Runtime capture

The screenshot was captured after engine initialization, but the diagnostic itself only reads the DOM and does not depend on the engine. The Full Discovery metadata exporter and Studio integration are planned.

Enlarged screenshot