Click or drag to resize

GridContainersetColumnProperties Method

A comma delimited list of name/value pairs to configures the column by setting its type and other properties. type={FIELD|COMBO|NOEDIT}, list={integer}, sortable={yes|no}, sorttype={string|numeric|date}, inputformat={format_string}, locale={locale_string} Property name is case sensitive. Type NOEDIT means this column's cells will be non-editable. Type FIELD means cells will be editable with input field as edit widget. Type COMBO means cells will be editable with combobox as edit widget. For type=COMBO also specify the LISTn property to Initialize combobox. For type=COMBO also specify the LISTn property to Initialize combobox. You also can Initialize combobox at runtime using ONEDITCELL event handler. There is also a possibility to insert checkbox in cell. See TEXTn parameter description. example 1: type=COMBO,list=1,sortable=no example 2: sorttype=date, inputformat={dd/MM/yy, hh:mm:ss},locale=enUS

Namespace:  Aras.Client.Controls.Public
Syntax
JavaScript
function setColumnProperties(s, columnIndex);

Parameters

s
Type: string
columnIndex
Type: int
See Also