Tutorial: Read-only


This page shows ways to configure columns or cells to be read only:

Edit this page

Read-only columns

In many usage cases, you will need to configure a certain column to be read only. This column will be available for keyboard navigation and CTRL+C. Only editing and pasting data will be disabled.

To make a column read-only, declare it in the columns setting. You can also define a special renderer function that will dim the read-only values.

Read-only specific cells

This example makes cells that contain the word "Nissan" read only.

It forces all cells to be rendered by myReadonlyRenderer, which will decide whether a cell is really read only by checking its readOnly property.