col.xyz.type

Specify what type of values can be stored in a column, defines the behaviour of the plugin.

 

Class

column

Property

col.xyz.type

Formal specification

col.xyz.type = string | number | integer | list | date | textarea | checkbox | radio | sequence

Required

no

Default



Version



Comment

  1. Additional parameters can be defined for each of the different types.

  2. if no type is specified, it is assumed to be a string. 





Example



gd.columns=name, dob, gender, relation, hobbies ...  col.dob=Date of Birth  col.dob.type=date  col.dob.width=30  col.dob.editable=true  col.dob.sortable=true  col.dob.required=true



Reference

col.xyz.type = string 
col.xyz.type = number 
col.xyz.type = integer 
col.xyz.type = list 
col.xyz.type = date 
col.xyz.type = datetime
col.xyz.type = textarea 
col.xyz.type = checkbox 
col.xyz.type = radio 
col.xyz.type = userlist