Grid Columns

ColumnsIcon Description

This node contains the definition of the columns that should be displayed in a WorkWith or SubWorkWith interface. Its children are the columns that will appear on the grid, and its properties define some of the grid's characteristics as Page Size, Conditions, etc.

To alter the definition of the grid's orders and filters see the definition for the Orders and Filters nodes.

Runtime appearance

A example is shown below. Note that the first attribute is invisible in the grid.

GridColumnDefinition GridColumnSectionRT
Grid Columns Definition Grid Columns Runtime Appearance

Properties

Category Name Value
General Conditions Indicates conditions that should be used when loading the grid.
Page Indicates the amount of rows to display per grid page. If set to zero, no paging will be generated and all available items will be shown.
Display Page Count If set to true, the Grid.PageCount method is called to display the total amount of pages. If set to false, the total amount of pages is not shown and the Grid.PageCount method is not called.
Page Options Determines the options available in the Rows Per Page field inside the grid settings control.
Allow Runtime Column Selection Determines if this grid will have Runtime column selection enabled.
Conditional Row Classes Contains a set of conditions that determine different formattings for the grid rows based on their content. See Using conditional classes in grids
Advanced Persist Selected Rows Set to true selected rows are persisted on filter and paging changes.
Hide Paging If One Page If set to True, the paging bar will be invisible when only one page is available.
Use Base Trn If set to True, the Base Transaction feature will be used when generating this grid, improving specification performance.
Custom Render Allows the developer to choose a custom render for this grid, such as a gxui Render. Only available when generating HTML forms.
Scroll Determines if the grid will have inner scroll bars. Only available when generating HTML forms.
Height Determines the height for the grid control. Only available when generating HTML forms.
Width Determines the width for the grid control. Only available when generating HTML forms.

Child nodes

AttributeIcon Attribute (grid)   VariableIcon Variable (grid)