| sidebar_label | freezeRows() |
|---|---|
| title | freezeRows method |
| description | You can learn about the freezeRows method in the documentation of the DHTMLX JavaScript Spreadsheet library. Browse developer guides and API reference, try out code examples and live demos, and download a free 30-day evaluation version of DHTMLX Spreadsheet. |
@short: Fixes ("freezes") rows
freezeRows(cell?: string): void;cell- (optional) the id of the cell used to define the id of a row. If the cell id isn't passed, the currently selected cell will be used
spreadsheet.freezeRows("B2"); // the rows up to the "2" row will be fixed
spreadsheet.freezeRows("sheet2!B2"); // the rows up to the "2" row in "sheet2" will be fixedRelated articles: Work with Spreadsheet
Related API: unfreezeRows()
Related sample: Spreadsheet. Freezing columns and rows via API
Change log: Added in v5.2