Panel | ||||
---|---|---|---|---|
| ||||
Excerpt | ||||
The col.xyz.hidemode allows to specify in which grid mode a field must be hidden. |
...
Class | column display | ||
---|---|---|---|
Property | col.xyz.hidemode = all, view, edit, view_fullscreen, edit_fullscreen | ||
Formal specification |
| ||
Required | no | ||
Default | all | ||
Version | 1.15 | ||
Comment |
| ||
Example |
| ||
Reference |
Code Block |
---|
##################################
# A grid where a number of columns are hidden
###############################
gd.columns=ifull, iview, iedit, ifullview, ifulledit, iviewfullview, ieditfulledit
gd.tablename=hidden
gd.ds=igridtest
###############################
# hide this field when editing a grid (inline, popup)
###############################
col.iedit = Edit Hidden
col.iedit.type = string
col.iedit.hidden = true
col.iedit.hidemode = edit
###############################
# hide this field when editing a grid (inline, popup and full)
###############################
col.ieditfulledit = Edit and Full Edit
col.ieditfulledit.type = string
col.ieditfulledit.hidden = true
col.ieditfulledit.hidemode = edit, edit_fullscreen
###############################
# Never show this field, default value
###############################
col.ifull = Fully Hidden
col.ifull.type = string
col.ifull.hidden = true
col.ifull.hidemode = all
###############################
# hide this field when editing a grid in full view mode
###############################
col.ifulledit = Full Edit only
col.ifulledit.type = string
col.ifulledit.hidden = true
col.ifulledit.hidemode = edit_fullscreen
###############################
# Hide this field when viewing a grid in full screen mode
###############################
col.ifullview = Full View Only
col.ifullview.type = string
col.ifullview.hidden = true
col.ifullview.hidemode = view_fullscreen
###############################
# Hide this field when viewing a grid (in normal issue view mode)
###############################
col.iview = View Only
col.iview.type = string
col.iview.hidden = true
col.iview.hidemode = view
###############################
# Hide this field when viewing a grid in normal issue view mode and full screen
###############################
col.iviewfullview = View and Full View
col.iviewfullview.type = string
col.iviewfullview.hidden = true
col.iviewfullview.hidemode = view, view_fullscreen
|