Documentation

Grid panel: setting up default values from values coming from a filter panel

When inserting a new row in grid, it is possible to set default values for cells, getting the values from:

  • filter controls
  • window parameters
  • selected row in other grids
  • application parameters
 defValues

 

 

It is essential to pay attention to the data type of the filter control and use the ‘ ‘ surrounding the expression, in case of text type controls.

If you want to get the value from a filter control, its identifier is defined according to the following format:
controlTABLENAME_FIELDNAME
Example:
If the table name is ANGO15_NEGOZIO_ECONOMICO
and the field name is COS_SOCIETA
then the filter identifier becomes:
controlANGO15_NEGOZIO_ECONOMICO_COS_SOCIETA
where the dot separating table and field is replaced by an underscore.