Skip to main content

Overview

Grid view is the default and most versatile view type in NocoDB. It displays your data in a familiar spreadsheet-like format with rows and columns, making it perfect for viewing and editing large datasets efficiently.
Grid view is the most commonly used view type and serves as the foundation for data management in NocoDB.

When to Use Grid View

Grid view is ideal for:
  • Data entry and bulk editing - Quickly enter and modify multiple records
  • Comprehensive data analysis - View all fields and records simultaneously
  • Spreadsheet workflows - Familiar interface for users coming from Excel or Google Sheets
  • Sorting and filtering - Apply complex filters and sort by multiple columns
  • Grouping data - Organize records by specific field values
  • Calculating aggregates - Sum, average, or count values across columns

Configuration Options

Grid view supports the following configuration options:

Row Height

Control the vertical spacing of rows to optimize for readability or data density.
Use compact row height when you need to see more records on screen at once. Ideal for:
  • Large datasets with simple data types
  • Quick scanning and navigation
  • Limited screen space
{
  "row_height": 1
}

Column Configuration

Each column in the grid can be configured individually:
PropertyTypeDescription
showbooleanControls column visibility in the view
ordernumberDefines the column display order (left to right)
widthstringColumn width in pixels (default: “200px”)
group_bybooleanEnable grouping by this column
group_by_ordernumberOrder when multiple group-by columns are used
group_by_sortstringSort direction for groups (“asc” or “desc”)
aggregationstringAggregation function (sum, avg, count, etc.)
Use the width property to optimize column sizes based on content. Wider columns for long text, narrower for status or checkbox fields.

Working with Grid View

  • Scroll - Use mouse wheel or trackpad to scroll vertically and horizontally
  • Arrow keys - Navigate between cells using keyboard arrows
  • Search - Press Ctrl+F (or Cmd+F) to search within the grid
  • Jump to row - Click row numbers to select entire rows

Column Operations

  • Resize - Drag column borders to adjust width
  • Reorder - Drag column headers to reposition columns
  • Hide/Show - Toggle column visibility from the column menu
  • Sort - Click column header to sort ascending/descending

Advanced Features

Column Freezing

Freeze columns to keep them visible while scrolling horizontally:
  • Ideal for keeping ID or name columns always in view
  • Freeze up to 3 columns from the left
  • Useful when working with wide tables

Cell Formatting

Grid view respects field types and displays data accordingly:
  • Text - Single or multi-line text with wrapping
  • Numbers - Right-aligned with decimal precision
  • Dates - Formatted based on locale settings
  • Attachments - Thumbnail previews in cells
  • Links - Clickable URLs with preview icons
  • Relations - Linked record chips with quick access

Keyboard Shortcuts

ShortcutAction
Arrow keysNavigate between cells
EnterEdit selected cell
EscCancel editing
TabMove to next cell
Shift + TabMove to previous cell
Ctrl/Cmd + CCopy selected cells
Ctrl/Cmd + VPaste into selected cells
Ctrl/Cmd + ZUndo last change

Best Practices

Optimize Column Order - Place the most important columns first, as users naturally scan from left to right.
Use Appropriate Row Height - For tables with attachments or long text, use expanded row height. For simple data, compact height shows more records.
Hide Unnecessary Columns - Keep your view focused by hiding columns that aren’t needed for the current task.
Leverage Grouping - Group by status, priority, or category fields to organize your data into manageable sections.

Performance Considerations

Grid view is optimized for handling large datasets through:
  • Virtual scrolling for thousands of rows
  • Lazy loading of cell content
  • Cached column configurations
  • Optimized rendering for field types
For optimal performance:
  • Limit the number of visible columns (hide unused ones)
  • Use filters to reduce the number of displayed records
  • Avoid excessive grouping levels (max 2-3 recommended)
  • Keep column widths reasonable to reduce horizontal scrolling

API Reference

Create a grid view programmatically:
const gridView = {
  fk_view_id: 'view_id',
  row_height: 2,
  meta: {}
}
Update grid view settings:
const updates = {
  row_height: 4,
  meta: {
    custom_setting: 'value'
  }
}
Grid view configurations are stored per view and shared across all users with access to that view.