Hello everyone,
On the Edit Widget, how can I change a field from isEditable true to false. I need to customize an individual field in the attribute inspector using fieldInfos object
In the config file the field is defined as isEditable':true, but is some cases it has to be changed to 'isEditable':false
Thanks
Jose,
In the edit widget there is a layerInfosParam array:
this.layerInfosParam[x].fieldInfos[y].isEditable
I have not had the need to do this every (so you are main on your own here) but if you loop through the layerInfosParam and check the featureLayer.id to be sure you are editing the right FL and then loop through the fieldInfos for that desired layer and set the isEditable to what you want.