Using the NoSkip property

Objective

When including Attribute or Variable nodes as children in an Attributes node, by default K2BWebPanelDesigner includes a table in the web form (corresponding to the Attributes node), and adds one row per attribute or variable defined in the node.

Using this property, different layouts can be obtained by telling K2BWebPanelDesigner that some attributes must be shown in the same row.

How it works

All Attribute and Variable nodes present inside an Attributes section include a property called "No Skip".

NoSkipProperty
No Skip property definition

When this property's value is set to true, the attribute or variable will be placed on the right side of the previous node or variable (without changing the row).

Tip: To simplify this property's usage, the node's icon is updated when this property is set to true, as shown below.

VariableNodeNoSkipFalse VariableNodeNoSkipTrue
No Skip=False No Skip=True

The example shows the effect on a variable node, the effect is similar in Attribute and SDTVariable nodes.

Examples

In the following examples, the tree structure will be always the one shown below. Only the No Skip property value will be changed in the node definitions.

These examples show variables only, the behaviour doesn't change if attributes are present.

NoSkipTree
Tree definition

The four examples below were created by altering the value for the property "No Skip" for some of the attributes shown.

NSStruct1 NSResult1
Default behaviour, all variables "No Skip" property is set to false Generated structure

NSStruct2 NSResult2
All variables "No Skip" property is set to false except for ProductDescription Generated structure

NSStruct3 NSResult3
All variables "No Skip" property is set to false except for ProductDescription and ProductIsStockeable Generated structure

NSStruct4 NSResult4
All variables "No Skip" property is set to false except for ProductDescription and ProductUnit Generated structure

When the description of an attribute with noskip set to true is empty, it will share the descripion of the previous attribute.That means, a table containing the attributes with noskip set to true and no description will be generated.

NSStruct5 NSResult5
All variables "No Skip" property is set to false except for ProductDescription and ProductPrice. Product Descrition "Description" property is empty. Generated structure