gd.columns

Use this to specify what columns should be displayed on the grid

Class

grid

Property

gd.columns

Formal specification

gd.columns=columnid (<columnid>))*

Required

yes

Default

none

Version

1.0

Comment

  • the column id will be used to specify the column details.

  • The order of the columns in this property is used to order the columns on the grid display.

  • The normal behaviour of the grid is to map a column id to an attribute in a relational table
    A number of Database reserved words can not be used such as for instance 'while'. Use another id in this case
    such 'awhile'

  • Check also col.xyz.name to map a column to a specific table attribute name.

Example



gd.columns=name, dob, gender, relation, hobbies  ... col.name = Family Name col.name.type =string ...



Reference