gd.displayCondition

Specify the condition when a grid should be showed in the view edit screen

Class

grid

Property

gd.displayCondition

Formal specification

gd.displayCondition = always | not empty | modified

Required

no

Default

always

Version

1.11

Comment

The displayCondition parameter allows to show the grid only when it is relevant

  • Always
    default value - always display the grid

  • Not empty
    Show the grid when there is data.

  • Modified (is not allowed for Connected grid)
    Show the grid only when some data has been modified
    The difference between not empty and modified is that the grid could be initalized with a gd.query, but the data itself has not been modified.

Example



  gd.columns = question, response gd.query = select question from surveyquestions gd.query.ds = surveys gd.displayCondition = not empty



Reference