web-apps/apps/spreadsheeteditor/main/resources/help/en/UsageInstructions/InsertDeleteCells.htm
2021-04-30 17:41:43 +03:00

111 lines
9.1 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<title>Manage cells, rows, and columns</title>
<meta charset="utf-8" />
<meta name="description" content="Insert or delete cells, rows, and columns, hide or show rows or columns, change row height and column width" />
<link type="text/css" rel="stylesheet" href="../editor.css" />
<script type="text/javascript" src="../callback.js"></script>
<script type="text/javascript" src="../search/js/page-search.js"></script>
</head>
<body>
<div class="mainpart">
<div class="search-field">
<input id="search" class="searchBar" placeholder="Search" type="text" onkeypress="doSearch(event)">
</div>
<h1>Manage cells, rows, and columns</h1>
<p>In the <a href="https://www.onlyoffice.com/spreadsheet-editor.aspx" target="_blank" onclick="onhyperlinkclick(this)"><b>Spreadsheet Editor</b></a> you can insert blank cells above or on the left of the selected cell in a worksheet. You can also insert an entire row above the selected one or a column on the left of the selected column. To make it easy to view a large amount of information, you can hide some rows or columns and display them again. It's also possible to specify the height of a certain row and width of a column.</p>
<h3>Insert cells, rows, columns</h3>
<p><b>To insert a blank cell to the left of the selected cell:</b></p>
<ol>
<li>right-click the cell to the left of which you wish to insert a new one,</li>
<li>click the <b>Insert cells</b> <img alt="Insert cells icon" src="../images/insertcells.png" /> icon situated at the <b>Home</b> tab of the top toolbar or select the <b>Insert</b> item from the right-click menu and use the <b>Shift Cells Right</b> option.</li>
</ol>
<p>The program will shift the selected cell to the right to insert a blank one.</p>
<p><b>To insert a blank cell above the selected cell:</b></p>
<ol>
<li>right-click the cell above which you wish to insert a new one,</li>
<li>click the <b>Insert cells</b> <img alt="Insert cells icon" src="../images/insertcells.png" /> icon situated on the <b>Home</b> tab of the top toolbar or select the <b>Insert</b> item from the right-click menu and use the <b>Shift Cells Down</b> option.</li>
</ol>
<p>The program will shift the selected cell down to insert a blank one.</p>
<p><b>To insert an entire row:</b></p>
<ol>
<li>select either the whole row by clicking its heading or a cell in the row above which you wish to insert a new one,
<p class="note"><b>Note</b>: to insert multiple rows, select the required number of rows.</p>
</li>
<li>click the <b>Insert cells</b> <img alt="Insert cells icon" src="../images/insertcells.png" /> icon situated on the <b>Home</b> tab of the top toolbar and use the <b>Entire row</b> option,
<br />or right-click the selected cell, select the <b>Insert</b> item from the right-click menu, then choose the <b>Entire Row</b> option,
<br />or right-click the selected row(s) and use the <b>Insert Top</b> option from the right-click menu.
</li>
</ol>
<p>The program will shift the selected row down to insert a blank one.</p>
<p><b>To insert an entire column:</b></p>
<ol>
<li>select either the whole column by clicking its heading or a cell in the column to the left of which you wish to insert a new one,
<p class="note"><b>Note</b>: to insert multiple columns, select the required number of columns.</p>
</li>
<li>click the <b>Insert cells</b> <img alt="Insert cells icon" src="../images/insertcells.png" /> icon situated on the <b>Home</b> tab of the top toolbar and use the <b>Entire column</b> option,
<br />or right-click the selected cell, select the <b>Insert</b> item from the right-click menu, then choose the <b>Entire Column</b> option,
<br />or right-click the selected column(s) and use the <b>Insert Left</b> option from the right-click menu.
</li>
</ol>
<p>The program will shift the selected column to the right to insert a blank one.</p>
<p>You can also use the <em>Ctrl+Shift+=</em> keyboard shortcut to open the dialog box for inserting new cells, select the <b>Shift Cells Right</b>, <b>Shift Cells Down</b>, <b>Entire Row</b>, or <b>Entire Column</b> option and click <b>OK</b>.</p>
<p><img alt="Insert cells window" src="../images/insertcellwindow.png" /></p>
<h3>Hide and show rows and columns</h3>
<p><b>To hide a row or column:</b></p>
<ol>
<li>select rows or columns you wish to hide,</li>
<li>right-click the selected rows or columns and use the <b>Hide</b> option from the right-click menu.</li>
</ol>
<p><b>To display the hidden rows or columns</b>, select the visible rows above and below the hidden rows or visible columns to the left and to the right of the hidden columns, right-click them and use the <b>Show</b> option from the right-click menu.</p>
<h3>Change column width and row height</h3>
<p>The <b>column width</b> determines how many characters with default formatting can be displayed in the column cell. The default value is set to 8.43 symbols. To change it:</p>
<ol>
<li>select columns you wish to change,</li>
<li>right-click the selected columns and use the <b>Set Column Width</b> option from the right-click menu,</li>
<li>choose one of the available options:
<ul>
<li>select the <b>Auto Fit Column Width</b> option to automatically adjust the width of each column according to its content, or</li>
<li>
select the <b>Custom Column Width</b> option and specify a new value from 0 to 255 in the <b>Custom Column Width</b> window, then click <b>OK</b>.
<p><img alt="Custom Column Width window" src="../images/columnwidth.png" /></p>
</li>
</ul>
</li>
</ol>
<p>To change the width of a single column manually, move the mouse cursor over the right border of the column heading so that the cursor turns into the bidirectional arrow <img alt="Mouse Cursor when changing column width" src="../images/changecolumnwidthcursor.png" />. Drag the border to the left or right to set a custom width or double-click the mouse to automatically change the column width according to its content.</p>
<p><img alt="Changing column width" src="../images/changecolumnwidth.png" /></p>
<p>The default <b>row height</b> value is 14.25 points. To change it:</p>
<ol>
<li>select rows you wish to change,</li>
<li>right-click the selected rows and use the <b>Set Row Height</b> option from the right-click menu,</li>
<li>choose one of the available options:
<ul>
<li>select the <b>Auto Fit Row Height</b> option to automatically adjust the height of each row according to its content, or</li>
<li>
select the <b>Custom Row Height</b> option and specify a new value from 0 to 408.75 in the <b>Custom Row Height</b> window, then click <b>OK</b>.
<p><img alt="Custom Row Height window" src="../images/rowheight.png" /></p>
</li>
</ul>
</li>
</ol>
<p>To change the height of a single row manually, drag the bottom border of the row heading.</p>
<h3>Delete cells, rows, columns</h3>
<p><b>To delete an unnecessary cell, row, or column:</b></p>
<ol>
<li>select cells, rows, or columns you wish to delete,</li>
<li>click the <b>Delete cells</b> <img alt="Delete cells icon" src="../images/deletecells.png" /> icon situated on the <b>Home</b> tab of the top toolbar or select the <b>Delete</b> item from the right-click menu and select the appropriate option:
<br />if you use the <b>Shift Cells Left</b> option, a cell to the right of the deleted one will be moved to the left;
<br />if you use the <b>Shift Cells Up</b> option, a cell below the deleted one will be moved up;
<br />if you use the <b>Entire Row</b> option, a row below the selected one will be moved up;
<br />if you use the <b>Entire Column</b> option, a column to the right of the deleted one will be moved to the left;
</li>
</ol>
<p>You can also use the <em>Ctrl+Shift+-</em> keyboard shortcut to open the dialog box for deleting cells, select the <b>Shift Cells Left</b>, <b>Shift Cells Up</b>, <b>Entire Row</b>, or <b>Entire Column</b> option and click <b>OK</b>.</p>
<p><img alt="Delete cells window" src="../images/deletecellwindow.png" /></p>
<p>You can always restore the deleted data using the <b>Undo</b> <img alt="Undo icon" src="../images/undo.png" /> icon on the top toolbar.</p>
</div>
</body>
</html>