Hello,
I can get the value of selected item in the combo by using
myRibbon.getValue(buttonComboID)
however,
when I try to do this - it does not work
myRobbon.setValue(buttonComboID,null);
Please advise
Thanks,
Kris
Hello,
I can get the value of selected item in the combo by using
myRibbon.getValue(buttonComboID)
however,
when I try to do this - it does not work
myRobbon.setValue(buttonComboID,null);
Please advise
Thanks,
Kris
Hello
First of al try
myRobbon.setValue(buttonComboID, ' ');
myRobbon.setValue(buttonComboID, ' ');
tried this, does not work
If it is very important foк you, you can get combo and set combo text as ‘empty’ text
Adding getCombo method
// add once, make sure dhtmlx is loaded
dhtmlXRibbon.prototype.getCombo = function(id){
var item = this._items[id];
if (item == null || item.type != "buttonCombo") return null;
return item.combo;
};
Getting combo and setting text
myRibbon = new dhtmlXRibbon(data);
combo = myRibbon.getCombo("buttonComboID");
combo.setComboText(' ')
Thank you! That worked.
You are welcome!