PDA

View Full Version : Unable to set an value to the combobox in Sencha GXT



siddy
12 Nov 2017, 11:18 PM
I have a SimpleComboBox and i am trying to show a value in the combobox on an event. The listener is able to access the combobox and i added the value to the store of the SimpleComboBox and i call the setValue() method and the value is not getting displayed in the combobox but the dropdown is showing the value which means the store is updated. But i want it to be updated directly instead of selecting from the dropdown box.I even tried the setText() methods also but not able to get the combobox to display on the end of the event itself.



columnComboBox.setValue(eventValueObject.getName(),false,true);
columnComboBox.setValue(eventValueObject.getName());
columnComboBox.setText(eventValueObject.getName());
columnComboBox.select(eventValueObject.getName());


None of the above mentioned stuff is working.Would appreciate any help on this front.