Click or drag to resize

CellsetEditType Method

Sets the type of cell editor, either 1-inputbox or 2-combobox. Used in the onEditCell event handler on type=0 event. So you can use different editors in same column/cell.

Namespace:  Aras.Client.Controls.Public
Syntax
JavaScript
function setEditType(editTypeInt, dropDownStyleInt);

Parameters

editTypeInt
Type: int
0NOEDIT. Editing is disabled.
1FIELD. Editing is allowed. TextBox is displayed.
2COMBO. Editing is allowed. DropDown is displayed.
3MV_LIST. Editing is allowed. MV_LIST is displayed.
dropDownStyleInt
Type: int
Optional. Integer. Is used when editType is 2 (COMBO). Specifies type of dropdown:
0The user cannot directly edit the text portion. The user must click the arrow button to display the list portion. This is the default style.
1The text portion is editable. The user must click the arrow button to display the list portion.
See Also