Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Current »

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


col.xyz.hidemode = ( <mode> ) ( "," <mode>)*
<mode> = all | view | edit | view_fullscreen | edit_fullscreen  


Required

no

Default

all

Version

1.15

Comment

  • This property requires that col.xyz.hidden = true, else it is ignored

  • it is possible to combine multiple modes

  • When generating an html version of the grid, the hidden parameter is taken into account but not the hidemode

Example


col.xyz.hidemode = view, view_fullscreen
col.xyz.hidemode = view, edit, edit_fullscreen


Reference

col.xyz.hidden

##################################
# 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



  • No labels