You can find all basic actions for working with cells under the context menu. To call the context menu, right-click the cell that you want to modify. The following table lists all the actions.
|Edit||F2||Edit a cell value. Alternatively, select a cell and start typing a new value. To confirm your changes, press Enter.|
Opens a dedicated editor to edit data in the cell. Also, you can enable soft wrap in the editor by clicking the Toggle Soft-Wrap button .
|Add a new line||^+Enter||Adds a new line in the regular editing mode F2.|
|Revert selected||^+⌥+Z||Restores the previous cell value.|
|Add a new line in a maximized cell||Enter||Adds a new line in the maximized editing mode (⇧+Enter). To confirm your changes, press ^+Enter.|
|Set the default value||^+⌥+D|
Sets the current cell value to the default value. For more information about how to set a default value, see Set default values for a cell.
|Set the NULL value||^+⌥+N|
Sets the current cell value to the NULL value. For more information about how to set a default value, see Set default values for a cell.
|Load file||Uploads a file into the field. Right-click a cell and select Load File.|
|Edit as||F2 or ⇧+Enter||Edit a value in the cell as a fragment of SQL, HTML, XML, or any other supported language.|
|Value completion||^+Space||Opens the suggestion list. To invoke value completion, start editing the cell and press ^+Space. The list contains values from the current column that match your input.|
|Adding cells with the same contents to the selection||⌥+J||Adds the nearest cell with the same contents to the selection. To remove a cell from the selection, press ⌥+⇧+J.|
|Expand a selection from a cell to a table||^+W|
Expands a selection from a cell to a table.
Compares the contents of two or three cells within one table. Select up to three cells and press ^+⇧+D. Alternatively, right-click the selection and select Compare Cells.
Using the quick documentation view
The quick documentation view provides details about values in the selected cell or cells. For example, if a cell contains long text, you will see the whole text. If a cell contains an image, you will see a preview of the image. Also, you can see records that are referenced in the current record as well as the records that reference the current one.
|Long text||If a cell contains long text, you will see the whole text.|
|Image||If a cell contains an image, you will see a preview of the image.|
The quick documentation view for records displays records that are referenced in the current record and records that reference the current one.
You can switch to the transposed view. In the transposed view, rows and columns are interchanged.
To switch to the transposed view, click Transposed View. For more information about the transposed view in tables, see Transpose a table.
Set default values for a cell
When a new row is created and no values are specified for some of the cells, those cells are filled with their respective default ^+⌥+D or NULL (^+⌥+N) values.
When you set default values for a cell, you can use corresponding actions from the context menu (Set DEFAULT and Set NULL).
In the Database tool window ( ), expand a data source tree.
Right-click the table and select Modify Table ^+F6.
On the Columns tab, double-click the column that you want to edit.
In the Default field, specify the default value of the cell in the column. To allow NULL values, clear the Not null checkbox.
Edit multiple cell values simultaneously
Select a range of cells that you want to edit.
Start typing a new value. The changes are applied to all the selected cells.
To confirm the value, press Enter. To cancel editing, press Escape.
Saving a LOB in a file
You can save a binary large object (BLOB or LOB) from a cell into a file.
Right-click the cell that contains the LOB and select Save LOB.
In the save dialog, specify the name and location of the file and click OK.
Copy and paste cells between tables
You can copy ^+C and paste ^+V selected cells and ranges of cells - within the same table or from one table to another one. When pasting, GoLand converts data types automatically if and as necessary.