Cell Editor Type
Cell Editor Type
firstsoftware
Posts: 3Questions: 1Answers: 0
Is it possible to set the editor type based on row instead of column, format is
field_name, value
where the value type is based on the field name, there is only 2 columns
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
I'm afraid not. The
fields.type
option is not configurable via the API - it can only be set at initialisation time or when the field is added to the form.If you want to change a field's type dynamically you would need to remove it using
clear()
and thenadd()
to add a new field of the required type.Allan
Thanks for the quick reply.
If it helps anyone the following appears to work for setting editor based on row type