> **Source:** https://knowledge.leegality.com/document-execution/template/html-template/formatting-and-editing/tables/cell-operations > **Site:** Leegality Knowledge Base — https://knowledge.leegality.com > **About:** Leegality is a document execution platform covering eSigning, stamps, NeSL, workflows, and REST API integration. > **Navigation:** Every article on this site has a plain-text version at `.txt` (this format). To get an index of all articles with their `.txt` links, read: https://knowledge.leegality.com/llms.txt > **AI Guide:** For instructions on how to navigate this knowledge base as an AI agent, read: https://knowledge.leegality.com/ai-readable.txt --- # Cell Operations Access cell-specific operations by right-clicking on any cell and hovering over **Cell** in the menu. ## Insert cells Add new cells before or after the selected cell: 1. **Right-click** on a cell. 2. Hover over **Cell** in the menu. 3. Select **Insert Cell Before** or **Insert Cell After**. The new cell will be inserted in the selected position. > **Caution — NOTE** > > Inserting cells between existing rows or columns may automatically generate additional rows/columns to compensate, which can disrupt the table's layout. Exercise caution when modifying the table structure to prevent unintended formatting shifts. ## Delete cells Remove specific cells from your table: 1. **Right-click** on the cell you want to delete. 2. Hover over **Cell** in the menu. 3. Select **Delete Cells**. ## Merge cells Combine multiple cells into a single cell using different merge options: ### Merge selected cells 1. Select the cells you want to merge (click and drag). 2. **Right-click** on the selected cells. 3. Hover over **Cell** in the menu. 4. Select **Merge Cells**. The selected cells will combine into one cell, and content from all merged cells will be preserved. ### Merge right 1. **Right-click** on a cell. 2. Hover over **Cell** in the menu. 3. Select **Merge Right** to merge with the cell on the right. ### Merge down 1. **Right-click** on a cell. 2. Hover over **Cell** in the menu. 3. Select **Merge Down** to merge with the cell below. > **Tip — When to Merge Cells** > > Use merge cells for creating headers that span multiple columns, grouping related information, or creating custom table layouts with varying cell sizes. ## Split cells Divide a cell into multiple cells horizontally or vertically: ### Split horizontally 1. **Right-click** on the cell. 2. Hover over **Cell** in the menu. 3. Select **Split Cell Horizontally**. The cell will be divided into two cells stacked vertically. ### Split vertically 1. **Right-click** on the cell. 2. Hover over **Cell** in the menu. 3. Select **Split Cell Vertically**. The cell will be divided into two cells side by side. ## Cell properties Customise individual cell appearance and behavior: 1. **Right-click** on the cell. 2. Hover over **Cell** in the menu. 3. Select **Cell Properties**. 4. A popup will open with the following options: - **Width:** Cell width in pixels or percentage - **Height:** Cell height in pixels - **Word Wrap:** Enable or disable text wrapping (Yes/No) - **Horizontal Alignment:** Align content horizontally (Left, Right, Center, Justify) - **Vertical Alignment:** Align content vertically (Top, Middle, Bottom, Baseline) - **Cell Type:** Define cell type (Data or Header) - **Rows Span:** Number of rows the cell should span - **Columns Span:** Number of columns the cell should span - **Background Color:** Choose cell background color from the color chart - **Border Color:** Choose border color from the color chart with checkboxes to specify which borders to apply (Top, Bottom, Right, Left) 5. Configure your desired settings. 6. Click **OK** to apply the changes. > **Info — Cell Type: Header vs Data** > > Set cell type to "Header" for column or row headers. This helps with accessibility and can apply different default styling to make headers stand out.