freezeRows

freezes the rows up to the specified one at runtime, starting from the first one

void freezeRows( [number row,string page] );
rownumberoptional, the id of the last row to freeze
pagestringoptional, the name of the sheet

Example

// freezes rows 1-3
$$("ssheet").freezeRows(3, "Sheet1");

Details

If you pass 0, or the id of the row up to which the rows are already frozen, the method unfreezes the rows:

// unfreezes the rows
$$("ssheet").freezeRows(0, "Sheet1");

If you don't pass the row parameter, the method freezes the rows up to the last row of the selected area of the active sheet. If no cells are selected, the method unfreezes the rows.

// freezes the rows up to the last row of the selected area
$$("ssheet").freezeRows();
See also
Back to top
Join Our Forum
We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.
If you have not checked yet, be sure to visit site of our main product Webix lightweight js framework and page of web based spreadsheet product.