Skip to main content

Controls

This article lists key Datagrok controls. Certain tools or viewers may have additional shortcuts or modify the listed shortcuts for different actions. For details, see the documentation for such tool or viewer.

  • Esc:

    • Viewers | Clear selection or toggle filters without resetting them.
      If you have both selected and filtered rows, pressing Esc first clears the selection, then toggles the filters.
    • Full Screen mode | Exit
  • F1: Context Help | Toggle

  • F2:

    • Viewers | Grid | Open column properties
    • Viewers | Other than grid | Edit title
  • F4: Context Panel | Toggle

  • F5: Editors (e.g., scripts, queries) | Run (requires an open editor)

  • F7: Presentation mode | Toggle

  • F11: Full Screen mode | Toggle


  • L: Viewers | Scatterplot | Toggle rectangle/lasso selection mode
  • R: Viewers | Scatterplot | Toggle regression line

  • Ctrl + A: Viewers | Select all

  • Ctrl + C: Viewers | Grid | Copy cell

  • Ctrl + H: Viewers | Grid | Open the Find and replace dialog

  • Ctrl + L: Table View | Layouts | Open Gallery (requires an open Table View)

  • Ctrl + O: Browse | Open the Open File dialog

  • Ctrl + S: Table View | Layouts | Save to Gallery (requires an open Table View)

  • Ctrl + V: Viewers | Grid | Paste into cell

  • Ctrl + Z: Viewers | Grid | Undo. You can reverse only one action. Supported actions:

    • Manually changing a cell value via a double-click
    • Clearing the layout
    • Deleting rows or columns
    • Closing a viewer by clicking on the x icon
  • Ctrl + Shift + A: Viewers | Deselect all
  • Ctrl + Shift + R: Table View | Layouts | Clear everything from a Table View except the grid
  • Ctrl + Shift + V: Table View | Open a new view that is attached to the same table
  • Ctrl + Shift + Z: Viewers | Grid | Redo. You can use the Redo (Ctrl+Shift+Z) command only after the Undo (Ctrl+Z) command

  • Alt + C: Table View | Colum Manager | Toggle
  • Alt + F: Full screen mode | Open
  • Alt + S: Sidebar | Settings | Open
  • Alt + T: Table Manager | Toggle
  • Alt + V: Table View | Variables Panel | Toggle
  • Alt + X: Table View | Toolbox | Toggle

  • Click:

    • Browse | Make an object current (e.g., file or query)
    • Viewers | Make a row or cell object current
  • Double click:

    • Browse | Open an object (e.g., file or query)

    • Viewers | Grid

      • Cell | Edit a cell
      • Column header | Sort a column (Also works for grid-based viewers like a heatmap or correlation plot)
    • Viewers | Empty area | Reset view in these viewers:

      • Scatterplot
      • 3D Scatterplot
      • Histogram
      • Bar chart
      • Pie chart
      • Network diagram
  • Right-click: Show context menu

  • Ctrl + Click: Viewers | Toggle selected state, one at a time. For columns, Ctrl+click the column's header

  • Shift + Click: Viewers | Grid | Select all rows above the one you click

  • Ctrl + Shift + Click: Viewers | Grid | Clear selected rows above the row you click. For column headers, deselects columns


  • Mouse drag:

    • Panel or View header | Dock (detach, reposition)

    • Viewers | Grid:

      • Rows | Select rows and columns
      • Row headers | Select rows
      • Column header | Move a column. Selected columns are repositioned simultaneously next to each other
      • Right border of a row or column's header | Resize a row/column
    • Viewers | Scatterplot, line chart: Pan

  • Shift + Mouse drag: Viewers | Select adjacent rows/data. For grid columns, Shift+drag column headers

  • Ctrl + Shift + Mouse drag: Viewers | Deselect adjacent rows/data

  • Alt + Mouse drag: Viewers | Scatterplot, line chart, bar chart | Select an area to zoom in


  • Mouse wheel up or down:

    • Views, Grid | Scroll

    • Viewers | Zoom in/out for these viewers:

      • Scatterplot
      • 3D scatterplot
      • Line chart
      • Network diagram
      • Map
  • Up (↑), Down (↓): Browse, Grid | Navigate up/down

  • Left (←), Right (→):

    • Browse: Expand/collapse a tree node
    • Viewers | Grid: Navigate left/right
  • Ctrl + ↑↓: Viewers | Grid | Go to previous/next selected row

  • Shift + ↑↓: Viewers | Grid | Select consecutive rows

  • Ctrl + Shift + ↑↓: Viewers | Grid | Deselect consecutive rows

  • PageUp, PageDown: Viewers | Grid | Jump to the first/last row in the currently displayed row array.

  • Home/End: Viewers | Grid | Jump to the first/last column for the current row.

  • Ctrl + Home/End: Viewers | Grid | Jump to the first/last row in the dataset.

  • Ctrl + Shift + Home/End: Viewers | Grid | Select rows above/below current.


  • Shift + Delete: Viewers | Grid | Delete selected rows and/or columns
  • Ctrl + Enter: Editors (e.g., scripts, queries) | Run (requires an open editor)

tips

Some tools, like the Table Manager or Column Manager, are based on the grid. Consequently, grid shortcuts also apply to the corresponding elements within these tools (e.g., rows).