gd.selector

Enables selection capabilities on the grid such that a user can select one row. Cell value that resides in the selected row and selector column is accessible in other grid queries using {customfield:XXXXX} notation

Class

Grid

Property

gd.selector

Formal specification

gd.selector = <column_id>

Required

no

Default

no

Version

1.22.0

Comment



"gd.selector" is allowed only for Table Grid Reader

Specifying of the property enables two features:

  • system selection column is added to the grid. User may select only one row at a time

  • {customfield:XXXXX} placeholder that references selector grid is resolved as a cell value on the cross of the selected row and column, that is specified in "gd.selector" property. It is possible to set up master and dependent grids using "gd.selector". If dependent grids are displayed on the same screen with master grid, they will be automatically reloaded on change of the selection of the master grid

Example

Master grid:

gd.query=select name from COUNTRY_D1 gd.query.ds=jira gd.query.columns=name gd.selector=name gd.columns=name col.name=name

Dependent grid:

gd.query=select name, country from CITY_D2 where country = {customfield:10001} gd.query.ds=jira gd.query.columns=name,country gd.columns=name,country col.name=name col.country=country

Reference

Table Grid Reader
issue values