Skip to content

freezeRow

fixes a row at the top of the datagrid at runtime

function freezeRow(
// optional, the row id
id: number|string,
// optional, true - to move a row to the "frozen" block, false - to unfreeze a row
state: boolean
): void
grid.freezeRow(id, true);

Note that if you don’t pass any parameters to the method, all frozen rows will be unfrozen. The method is inapplicable if called for DataGrid in paging mode

Articles