Thursday, April 26, 2012

Resetting the selection in a combobox (Ext JS 4.x)

Resetting the selection in a combo box require the following three lines:


myComboBox.clearValue();
myComboBox.applyEmptyText();
myComboBox.getPicker().getSelectionModel().doMultiSelect([], false);

No comments:

Contributors