Skip to content

Disable/enable Fields

Version > 2022.02.14

Limitations

This currently works for the following field types:

  • input
  • lookup
  • checkbox

More types may follow step by step.

Disabling Fields

1
AppGiniHelper.DV.getField("name").disable()

Enabling Fields

1
AppGiniHelper.DV.getField("name").enable()

Note on Field-Toolbars

Fields can have separate custom buttons, see here.

When disabling/enabling the field itself, the appended custom toolbar buttons will be disabled/enabled automatically

See also: