Variables in WebPanelDesigner basic layouts objects

In the WebPanel Designer, developers can define variables in the basic layout, and these variables are passed to the generated WebPanel. However, developers must determine whether each variable is global to the entire WebPanel or dependent on the grid and filters. The following approach is used:

Variable Classification

  • Grid-Dependent Variables: Variables with the prefix Grid_ are considered dependent on the grid. These variables will be defined for each grid, with the name following the convention of grid related variables. The Grid_ prefix will be replaced with the name of the grid.
  • Filter-Dependent Variables:
    • Variables with the prefix Filter_ are considered dependent on the filters. These variables will be defined for each grid that contains filters, with the name following the convention of filter-related variables. The Filter_ prefix will be replaced with an identifier of the filters node.
    • The variable named K2BToolsGenericSearchField in the basic layout is also related to the filters and is defined when there are generic filters.
  • Global Variables: Variables without any prefix are treated as global variables within the WebPanel and are defined with the name of the variable as specified in the basic layout.

Availability

K2BTools 16