Variable

VariableIcon Description

Nodes of this type are used inside Columns (grid) control. The variable can be automatically loaded by web panel designer or loaded or changed in the subroutine U_LoadGridRowVars by the developer. 

Runtime appearance

The runtime appearance of this control depends on the Theme property, and the properties inside appearance category.

AttributeGridRunTime VariableGridEditableRT
Variable inside a grid Editable variable inside a grid

Properties

Category Name Value
General Name Contains the attribute name
BasedOn Defines the variable's type. Variable must be based on a domain or attribute. 
Description Column description
LoadFromAttribute This property will only appear if the "BasedOn" property's value is an attribute. Set to true in load events assigns attribute value to variable.
LoadFromDataProvider This property will only appear if the grid is a Grid based on data provider In this case the value of the variable will be associated with the sdt field with the same name, returned by grid's data provider.
Form Visible Set to false, the variable will be hidden inside the grid.
Readonly If set to "False", user edition of the attribute will be allowed.
Invite Message Contains the string that will be used as an invite message. Only available when using Responsive Web Design.
Tooltip Tooltip to be used when generating the attribute control.
Context Help Value

A text that will appear alongside the variable to provide help for the user. Character values must be placed between quotes. This property's value must contain an expression. This allows the developer to concatenate attributes values ("Please insert value for " + &ProductDescription)

Format

Format of the variable value. 

  • Text
  • Html
  • RawHtml
  • TextWithMeaningfulSpaces
The format property allows you to render html code placed inside an attribute.
Conditional Cell Classes Contains a set of conditions that determine different formattings for the grid cell based on the row's content. See Conditional classes in grids
Behaviour Return On Click Set to true it allows you to return selecting this variable. This property is usefull for develop a prompt.
Show In Selected Grid

Only shown in variables belonging to a grid that belongs to a MultipleSelection node. When set to true, the variable will be shown in the selected items grid, otherwise it will only apper in the candidate items grid.

Selected Key

This property will only appear inside a multiple selection grid, or in a grid that contains an action inside with conditional confirm.  The purpose of this property is to let WebPanelDesigner know how to identify a row, to determine which rows triggered an action, or which rows are on the "selected" grid.
Allow Runtime Column Selection Determines if the user should be able to hide this column when using Runtime column selection in grids.
Selected by Default

Determines if the column should be visible by default.

This property is available only when the column can be hidden in runtime (Allow Runtime Column Selection = True).

Use In Work With Indicates if this variable should be included in WorkWith objects generated by this instance. (Only available in K2BEntityServices Pattern)
Use In Report Indicates if this variable should be included in Report? objects generated by this instance. (Only available in K2BEntityServices Pattern)
Use In Export Indicates if this variable should be included in Export? objects generated by this instance. (Only available in K2BEntityServices Pattern)
Report Report Width Determines the width the attribute will have in pdf report.
Appearance Class Theme class of the variable.
Auto Resize Indicates if the variable's control should be resized automatically or not.
Width If "Auto Resize" is set to "False" it allows to place variable width.
Height If "Auto Resize" is set to "False" it allows to place variable height.
Responsive Design Show In Extra Small Determines if the variable will be visible when using a device with a screen with a Extra Small size. See Introduction to Responsive Web Design.
Show In Small Determines if the variable will be visible when using a device with a screen with a Small size. See Introduction to Responsive Web Design.
Show In Medium Determines if the variable will be visible when using a device with a screen with a Medium size. See Introduction to Responsive Web Design.
Show In Large Determines if the variable will be visible when using a device with a screen with a Large size. See Introduction to Responsive Web Design.

Child nodes

ControlInfoIcon ControlInfo