Scripting Guide > Data Tables > Work with Rows > Prevent Editing or Deleting Rows
Publication date: 07/08/2024

Prevent Editing or Deleting Rows

To prevent adding or deleting rows in data tables, use the Set Edit Lock message:

dt << Set Edit Lock( "add rows", "delete rows");

See Prevent Changes to a Data Table for more information about preventing other data table operations.

Want more information? Have questions? Get answers in the JMP User Community (community.jmp.com).