Skip to content

Latest commit

 

History

History
37 lines (24 loc) · 1.13 KB

File metadata and controls

37 lines (24 loc) · 1.13 KB
sidebar_label freezeCols()
title freezeCols method
description You can learn about the freezeCols 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.

freezeCols()

Description

@short: Fixes ("freezes") columns

Usage

freezeCols(cell?: string): void;

Parameters

  • cell - (optional) the id of the cell used to define the id of a column. If the cell id isn't passed, the currently selected cell will be used

Example

spreadsheet.freezeCols("B2"); // the columns up to the "B" column will be fixed
spreadsheet.freezeCols("sheet2!B2"); // the columns up to the "B" column in "sheet2" will be fixed

Related articles: Work with Spreadsheet

Related API: unfreezeCols()

Related sample: Spreadsheet. Freezing columns and rows via API

Change log: Added in v5.2