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 3 Current »

This page provides a quick overview of the properties, that you can use to create a grid.  

KeyUsage
grid details

Enable grid features by adding the property to the configuration. 

  • gd.sample.sizeGenerate a number of rows with randomly generated content for each of the columns such that a grid can be tested.
  • gd.delete.allowedAllow or disallow users to delete individual rows on a grid
  • gd.delete.confirmationWhen enabled, the grid will ask for confirmation before deleting a set of rows using the 'delete non modified' or 'delete duplicates'
  • gd.readonlyWhen you want to use the grid for displaying purposes only
  • gd.enableXSSValidationThis property is in the first place meant to protect against XSS attacks. Use this property to block submission of html based data into a grid cell (string or textarea). 
  • gd.emptyRowsUse this to initialize the grid with a number of empty rows. Property is applied when you create a new issue. Columns are initialized with their default value
  • gd.allowAddRowsEnable or disable the possibility to add rows
  • gd.tablenameProvide the base name of the grid table
  • gd.insertChangeCommentsInsert grid changes as comments to the issue
  • gd.selectorEnables 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
  • gd.decimalSeparatorUse this to specify the default decimal separator for any grid column of type 'number'
  • gd.cleanupTableDelete rows from the gridtable when containing issue is deleted.
  • gd.trackingWhen enabled, adds 4 tracking columns to the grid table to know who and when a grid row has been added and/or updated.
  • gd.filterEnable filtering capabilities on the grid such that a user can filter out rows based on a search term
  • gd.columnsUse this to specify what columns should be displayed on the grid

grid display

You can specify grid display format (height, width, ...) using these properties.

grid initialization

Initialize grid with data statically or dynamically using these properties

  • gd.query.rowUse this property to initialize a grid with static data.
  • gd.dsUse this to specify a different grid storage database - for instance the JIRA database, or a database source specification.
  • gd.query.keepOnRefreshspecifies which rows can be removed when reloading the grid
  • gd.queryA query, used to initialize the grid when the issue is created, when the grid is reloaded using the reload button or when a dependent custom field is changed.
  • gd.initFromParentWhen gd.initFromParent is true, and a sub-task of the issue is created, all rows which are linked to the parent issue, will be duplicated to the created sub-task
  • gd.initFromCloneWhen gd.initFromClone is true, and an issue is cloned, all rows which are linked to the original issue, will be duplicated to the new (cloned) issue
  • gd.query.columnsUse this property to specify which columns should be initialized with the results of a query.
  • gd.query.reloadTriggerAllows to reload the grid on issue view or update
  • gd.query.reloadOnCustomFieldChangeAllows to disable automatic reloading of the grid on Create Issue and Edit Issue screens triggered by on custom field change
  • gd.query.dsSpecify on which datasource a query needs to be run.

database details

Connect grid to the database using Data source admin.

column types

Set columns for the grid using these properties:

column details

Specify column details using these properties

  • col.xyz.summaryAdds an additonal row with a summary of the column. This summary can be either 'sum', 'avg', 'count', 'min', 'max' or just a label such as 'total:'
  • col.xyz.nameXUsed to specify the label of a static list entry
  • col.xyz.alignHorizontal align the content of a column left, middle or center
  • col.xyz.hiddenHide a column from displaying on the grid
  • col.xyz.formatDateFormat the date when a column is a date type
  • col.xyz.requiredSpecify if a column can be empty or not
  • col.xyz.formulaUse the formula property to calculate the content of a column. String, math and conditional expressions are supported
  • col.xyz.sortableSpecify if a column is sortable or not
  • col.xyz.formatUserSet the format of options of the userlist column
  • col.xyz.querySpecify a source to initialize a list
  • col.xyz.hidemodeThe col.xyz.hidemode allows to specify in which grid mode a field must be hidden.
  • col.xyz.defaultValueSpecify a default value for a column when adding one or more rows
  • col.xyz.name=<tracking field>When you want to display in a grid the values of a tracking field. 
  • col.xyz.defaultDate initialize a date column with a date calculated from now.
  • col.xyz.initialValueSet the first value of a sequence
  • col.xyz.cols Specify the number of characters on a single line when editing a cell of a textarea column
  • col.xyz.valueXSpecify a value for a specific entry in a list
  • col.xyz.rowsSpecify the number of lines of the textarea when editing a cell of a textarea column
  • col.xyz.nameWhen the name of the attribute in the grid table (in the database) should be different from the column identifier
  • col.xyz.allow.rolesUsed in the context of a userlist column type - allows to limit the listed users to specific groups
  • col.xyz.checkedWhen the checkbox is checked - show this value
  • col.xyz.autocompleteWhen you want a type-ahead drop down list allowing to filter on specific values in the list.
  • col.xyz.list.sizeIn case of a static list, specify the number of list entries
  • col.xyz.allow.groupsUsed in the context of a userlist column type - allows to limit the listed users to specific groups
  • col.xyz.firstDayOfTheWeekSpecifies first day of the week in the datepicker for date and datetime columns
  • col.xyz.defaultSortUse this property to specify a default sorting when viewing a grid
  • col.xyz.formatnumber.decimalSeparatorUse this property to change the decimal separator when using the property col.xyz.formatnumber
  • col.xyz.uniqueSequence This property defines if the sequence is unique (is restarted) for each Jira issue or not.
  • col.xyz.minValueSpecify a minimum value for a number or integer column. Will show an alert if the number is lower than the minValue
  • col.xyz.widthSpecify the width of the column in pixels
  • col.xyz.plain.widthSpecify the width of the column in pixels for raw grid representation (Issue Search, Printable export)
  • col.xyz.maxLengthLimits the number of characters which can be entered in a text or textarea columns
  • col.xyz.parseurlBy default, the grid addon will process any character sequence of the form 'a:b' in columns of type textarea and string and turn these into a clickable url.
  • col.xyz.query.dsWhen a list is initialized with a query, use this property to specify which database should be used.
  • col.xyz.maxValueSpecify a maximum value for a number or integer column. Will show an alert if the number is higher than the maxValue
  • col.xyz.editableUse this to indicate if a column should be readonly or not
  • col.xyz.uncheckedWhen the checkbox is unchecked - show this value
  • col.xyz.allow.disabledThe col.xyz.type = userlist allows to list all users in a dropdown. The normal behaviour is to list only the active users. This property allows to modify to include the disabled users.
  • col.xyz.rendererSpecify how the content of a string or textarea should be rendered. Two options - text or wiki
  • col.xyz.formatnumber.groupingSeparatorUse this property to change the grouping separator when using the col.xyz.formatnumber property
  • col.xyz.sequencePrefixUse this label to prefix the sequence number when viewing the rows in a grid
  • col.xyz.formatnumberUse this property to format a number according to a particular pattern.
  • col.xyzDefine the column header of a single column
  • col.xyz.query - customfieldWhen you want to reuse options provided in a custom field
  • col.xyz.tooltipAdd a short explanation of what is expected to be filled in a column

MLCF details

Specify general Multi Level Cascade field details using these properties

  • mc.dsUse mc.ds to select the database where the Multi Cascade field should be maintained
  • mc.viewUse this to define if the multi cascade select lists (levels) will be displayed, in edit mode, horizontal or vertical
  • mc.queryUse this to define Simple Config, to specify the query of the Multi Cascade's with one level (select list)
  • mc.levelsUse this to specify what levels should Multi Cascade Field contain

MLCF level's details

Specify details for the levels of your Multi Level Cascade custom field

  • level.xyz.query.dsSpecify on which datasource a query for the given level needs to be run.
  • level.xyz.viewColumnSpecify the name of the column which value will be displayed while editing and for saved dropdown options
  • level.xyz.labelUse this to specify the display title of the Multi Cascade's level (select list)
  • level.xyz.queryUse this to specify the query of the Multi Cascade's level (select list)
  • level.xyz.widthUse this to specify the width of the Multi Cascade's level (select list)
  • level.xyz.storeColumnSpecify the name of the column which value will be saved as a value of the selected dropdown option

issue values Issue values can be reused in queries to build grids in a dynamic way
  • No labels