Back
readOnlyLens
Editing, Updating and Creating Records
readOnlyLens
This lens sets fields which are readonly in both edit and new record mode
Default:
See also newReadOnlyLens and gridReadOnlyLens.

Setting this property for a field means that the user cannot change the field value.

However when creating a new record, you can still set the value to insert into the database using the defaultLens property. Also if you have the mustFill property, then when creating the record the field will be editable.

If you require an input field that is read-only that is manipulated using javascript, see the inputTypeLens property, readonly type.

 Basic:Yes  Advanced/Enterprise:Yes  DynamicEdit:Yes   [Version 1.0]