Databricks notebooks: orientation to the new cell UI
The new cell UI is an updated look and feel for Databricks notebooks. This guide is designed to orient users who are familiar with the existing notebook UI.
Enable the new UI
The quickest way to preview the new UI is the preview tag available in the notebook header.
This tag displays the current status. Click the tag and toggle the switch to ON. Then click Reload page next to the toggle. The page reloads with the new cell UI enabled.
If you click Don’t show this again to remove the preview tag, you can click View > Developer settings at any time and toggle New cell UI under Experimental features.
Orientation
This section describes some commonly used features and where to find them in the new UI.
Run button
The run button is at the upper-left of the cell. Click the sideways-pointing arrow to run the cell with a single click. Click the downward-pointing arrow to display a menu.
When a cell is running, the run button displays a spinner and shows the current time spent running the command. You can click this button to cancel the execution. After a cell has finished running, the last run time and duration appear to the right of the button. Hover your cursor over this to see more details.
Cell numbers and titles
Cell numbers and titles appear in the center of the cell toolbar. To add or edit a title, click on the cell number or title. Cells with titles now appear in the table of contents to assist you in navigating around a notebook.
Add cells shortcut
To add a new cell, hover in the space between cells. You have the option to add a new, empty code cell or a Markdown text cell.
Floating toolbar
The toolbar remains visible when you scroll down a large code cell to provide more convenient access to cell status and actions.
Focus mode
To edit a single cell in full screen mode, use focus mode. Click the focus mode icon in the toolbar.
This opens a full screen editor for the cell. Any results appear in the bottom panel.
You can navigate to adjacent cells using the arrows on either side of the cell title or using the notebook table of contents.
Frequently asked questions
Can I remove the margin on the sides of the cell?
You can toggle this preference using the View > Centered layout setting in the notebook menu.
Where can I see detailed run information of a cell?
Mouse over the run information next to the run button to see a tooltip with detailed run information.
If you have a tabular result output this information is also accessible by hovering over the “Last refreshed” section of the UI.
How can I get line numbers back?
Use View > Line numbers in the notebook menu to toggle line numbers on or off.