You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: You can learn about the afterDataLoaded event 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.
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.
5
+
---
6
+
7
+
# freezeCols()
8
+
9
+
### Description
10
+
11
+
@short: Fixes ("freezes") columns
12
+
13
+
### Usage
14
+
15
+
~~~jsx
16
+
freezeCols(cell?: string):void;
17
+
~~~
18
+
19
+
### Parameters
20
+
21
+
-`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
22
+
23
+
### Example
24
+
25
+
~~~jsx
26
+
spreadsheet.freezeCols("B2"); // the columns up to the "B" column will be fixed
27
+
spreadsheet.freezeCols("sheet2!B2"); // the columns up to the "B" column in "sheet2" will be fixed
28
+
~~~
29
+
30
+
**Related articles:**[Work with Spreadsheet](working_with_ssheet.md/#freezingunfreezing-rows-and-columns)
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.
5
+
---
6
+
7
+
# freezeRows()
8
+
9
+
### Description
10
+
11
+
@short: Fixes ("freezes") rows
12
+
13
+
### Usage
14
+
15
+
~~~jsx
16
+
freezeRows(cell?: string):void;
17
+
~~~
18
+
19
+
### Parameters
20
+
21
+
-`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
22
+
23
+
### Example
24
+
25
+
~~~jsx
26
+
spreadsheet.freezeRows("B2"); // the rows up to the "2" row will be fixed
27
+
spreadsheet.freezeRows("sheet2!B2"); // the rows up to the "2" row in "sheet2" will be fixed
28
+
~~~
29
+
30
+
**Related articles:**[Work with Spreadsheet](working_with_ssheet.md/#freezingunfreezing-rows-and-columns)
description: You can learn about the hideCols 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.
5
+
---
6
+
7
+
# hideCols()
8
+
9
+
### Description
10
+
11
+
@short: Hides columns
12
+
13
+
### Usage
14
+
15
+
~~~jsx
16
+
hideCols(cell?: string):void;
17
+
~~~
18
+
19
+
### Parameters
20
+
21
+
-`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
22
+
23
+
### Example
24
+
25
+
~~~jsx
26
+
spreadsheet.hideCols("B2"); // the "B" column will be hidden
27
+
spreadsheet.hideCols("sheet2!B2"); // the "B" column in "sheet2" will be hidden
28
+
spreadsheet.hideCols("B2:C2"); // the "B" and "C" columns will be hidden
29
+
~~~
30
+
31
+
32
+
**Related articles:**[Work with Spreadsheet](working_with_ssheet.md/#hidingshowing-rows-and-columns)
description: You can learn about the hideRows 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.
5
+
---
6
+
7
+
# hideRows()
8
+
9
+
### Description
10
+
11
+
@short: Hides rows
12
+
13
+
### Usage
14
+
15
+
~~~jsx
16
+
hideRows(cell?: string):void;
17
+
~~~
18
+
19
+
### Parameters
20
+
21
+
-`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
22
+
23
+
### Example
24
+
25
+
~~~jsx
26
+
spreadsheet.hideRows("B2"); // the "2" row will be hidden
27
+
spreadsheet.hideRows("sheet2!B2"); // the "2" row in "sheet2" will be hidden
28
+
spreadsheet.hideRows("B2:C4"); // the rows from "2" to "4" will be hidden
29
+
~~~
30
+
31
+
**Related articles:**[Work with Spreadsheet](working_with_ssheet.md/#hidingshowing-rows-and-columns)
0 commit comments