Hi,
I'm trying to incorporate a table widget strictly for selection purposes, however, if you double click on a cell it allows you the edit the layer that it is connected to. I do not want people to edit the data by double-clicking the data in the table. I want them to select the record using the table, and then submitting their edits in a survey widget.
How do I go about making the contents in the table widget to read-only/non-editable?
Thanks,
Solved! Go to Solution.
It is completely backwards to how one would think. You will need to turn on editing ability by the checkbox and then make sure no field is checked while the editing ability is still on. You will notice the fields in the table have locks on them once this is done.
Hope this helps!
Hi @SaadShahzad, you need to configure fields to Customized. By default, it uses Use layer settings and it honors the editing settings of the layer.
Hi Shen,
I appreciate your response. I changed the setting to Customized, and ensured that the Allow Editing checkbox was unchecked. But it did not change the behavior of the table, it still allows the user to double-click a cell and edit the contents within the table.
I have also noticed this. Used to be (I think as of Dev edition 1.12 or .13) that you had to actively check that box to be able to edit, but now the table automatically accepts edits and toggling off doesn't change the behavior.
If you can still edit the fields in the builder, it is expected as you are the owner of this application. Users with certain editing privileges can make edits regardless of the editing settings. Please see Editing privileges for more detail
It is completely backwards to how one would think. You will need to turn on editing ability by the checkbox and then make sure no field is checked while the editing ability is still on. You will notice the fields in the table have locks on them once this is done.
Hope this helps!
You're a life saver. This did the trick! Thanks a lot.