readOnly

Typeproperty
Dictionarywidget.treeview
LibraryTree View
Syntax
get the readOnly of <widget>
set the readOnly of <widget> to {true|false}
Associationscom.livecode.widget.treeview
Summary

Whether the options to modify elements of the underlying array are present or not.

Description

The readOnly property controls whether the widget presents the option to add elements to arrays or not. If false, the first row of the widget is always "Add new element", and when rows are hovered over, icons appear at the right to enable the removal of that element, or the addition of a new subelement.