DataLudi Grid v.1 > Classes

Back  Forward

DropDownCellEditor  class

Text editor tod display list box displaying items able to select. It is selected list item which is approximated with inputiing value during user inputting, and if the item is clicked by a mouse or input enter key, contents of editor is updated as the value of the item. At this time, if commitOnSelect is true, changes vlaue of data cell as selected value. 

It is specified items to display on the list as values. If it is specified items as much as values to labels, displays items of labels instead of values* on the list. In this case, actual value to apply data cell is one of values set to values

If readOnly is true, is able to expand list box. 

When setting column editor, it is specified type as "dropdown"

Base Classes
TextCellEditor > CellEditor > EventAware > DLBase
Inherited Classes
SearchCellEditor
Constructor
function DropDownCellEditor (grid: GridBase, parentElement: HtmlElement);
Properties
caseSensitive
commitOnSelect
domainOnly
dropDownCount
dropDownPosition
dropDownWidth
isListing
itemSortStyle
labels
textReadOnly
values
Inerhited Properties
CellEditor.booleanFormat
CellEditor.datetimeFormat
CellEditor.editIndex
CellEditor.fontName
CellEditor.fontSize
CellEditor.hasButton
CellEditor.isEditing
TextCellEditor.maxLength
CellEditor.readOnly
TextCellEditor.text
CellEditor.textCase
Methods
Inerhited Methods
EventAware.addListener
DLBase.assign
TextCellEditor.ctor
CellEditor.ctor
DLBase.getProperties
DLBase.getProperty
EventAware.removeListener
DLBase.setProperties
DLBase.setProperty

 

See Also
LineCellEditor
DateCellEditor
Examples
DropDown Cell Editor