According to this thread, https://help.zoho.com/portal/en/community/topic/changing-the-display-type-of-view-to-grid-does-not-work, you can't have a Grid view if there is an "on edit" action. Fair enough.
I have a form that I did not add any "on edit" actions to, but when I go to the Form Definition (With Action) area, it shows the following:
- actions
- {
- on add
- {
- submit
- (
- type = submit
- displayname = "Submit"
- PreSubmit = "<?xml version=\"1.0\" encoding=\"UTF-8\"?><preoncommit><openurl/><sendmail><language><![CDATA[English]]></language><enabled><![CDATA[false]]></enabled><conttype><![CDATA[HTML]]></conttype></sendmail></preoncommit>\n"
- )
- reset
- (
- type = reset
- displayname = "Reset"
- )
- }
- on edit
- {
- update
- (
- type = submit
- displayname = "Update"
- )
- cancel
- (
- type = cancel
- displayname = "Cancel"
- )
- }
- }
It appears that this functionality is related to the buttons on the forms... but I did not add this code. Furthermore, when I try to delete the "on edit" action and hit "Save Script," all acts fine. Then, when I check my View, it still doesn't give the Grid view option. So I go back into the Form Definition, and sure enough, the code has been added back in.
If the "on edit" functionality effectively disables one of the most powerful View options, how do we stop the application from adding it in automatically??