Sigma.Column.Editor

Instance Properties

defaultText
String. Default text. Valid for "select" type only.

height
String. To specify editor height. For textarea type only. See Sigma.Column.Editor.type
Sample:

type
String. Editor type. Value could be
"text" - Text box
"select" - Drop down list
"date" - Date picker
"textarea" - Text area
Sample

validator : function(value,record,colObj,grid)
Validator of this column.
value: Value of the cell.
record: Object or array. Data record of row.
colObj: Column object.
grid: Grid object.
return: true for passing validation, or message string to popup.
Sample

validRule
Array. Valid rules. Array element could be
'R' - Required
'N' - Number
'E' - Email
'F' - Float
Sample - Cell in this column must have a valid email address.

width
String. To specify how many px for editor width. For textarea type only. See Sigma.Column.Editor.type
Sample: