SMART datagrid v.1 > Classes > GridColumn
The column (group) being displayed on the top of grid Body area in which displays data cells among top Column Groups including this column.
In the case of top column itself, it will return the column itself.
When it is BLOCK or COLUMN selection mode, selection minimum unit will become dataRoot.
The column displayed in red box is dataRoot. Since CustomerGroup is the top column which includes all columns in blue box, CustomerGroup column will become dataRoot.
var col = grid.focusedColumn();
if (col.dataRoot() === col) {
col.setWidth(200);
}