Customising the Client Edit View.
There are a number of customisation options available which will alter the display of the edit view.
name | type | default | description |
---|---|---|---|
enableCreate | boolean | true | Should the 'Create' button be displayed |
enableUpdate | boolean | true | Should the 'Update' button be displayed |
enableDelete | boolean | true | Should the 'Delete' button be displayed |
enableModify | boolean | true | Should the 'Modify' button be displayed |
enablePoint | boolean | true | Should the 'Point' button be displayed |
enableLine | boolean | true | Should the 'Line' button be displayed |
enablePolygon | boolean | true | Should the 'Polygon' button be displayed |
enableRemove | boolean | true | Should the 'Remove' button be displayed |
enableSnap | boolean | true | Should the 'Snapping' button be displayed |
enableSettings | boolean | true | Should the 'Settings' button be displayed |
enableImport | boolean | true | Should the 'Import' button be displayed |
showText | boolean | false | Should the text label appear in the create, update, delete and reset buttons? This only applies to the default toolbar, if you replace the default toolbar with your own you'd need to set showText to the appropriate value for each button, also note that this value defaults to true in that situation. The default was changed from release 2.6.4, the default was previously true. This is removed from release 2.6.5, text will never be shown. |
showIcon | boolean | true | Should the icon appear in the create, update, delete and reset buttons? Note that this only applies to the default toolbar, if you replace the default toolbar with your own you'd need to set showIcon to the appropriate value for each button. Setting this to false will set showText to true if it is not explicitly set. This is removed from release 2.6.5, icons will always be shown. |
embedButtons | boolean | false | Should the 'Submit' and 'Cancel' buttons be embedded in the form (or remain in the toolbar) This is removed from release 2.6.4, the buttons will always be embedded in the input panel. |
Button display based on showIcon and showText values.
showText unset | showText true | showText false | |
---|---|---|---|
showIcon unset | icons/no text | icons/text | icons/no text |
showIcon true | icons/no text | icons/text | icons/no text |
showIcon false | no icons/text | no icons/text | icons/no text |
Edit View with showText
set to false
and showIcon
set to true