FreezeAt
function FreezeAt(frozenRange: ApiRange | String = null): void
Description
Sets the frozen cells in the active worksheet view. The range provided corresponds to the cells that will be frozen in the top- and left-most pane.
Parameters
A range that represents the cells to be frozen.
Returns
void
Try It
var oWorksheet = Api.GetActiveSheet();
var oFreezePanes = oWorksheet.GetFreezePanes();
var oRange = Api.GetRange('H2:K4');
oFreezePanes.FreezeAt(oRange);