Ribbon with check box combo

Hi there,
I’m going to use Dhtmlx Ribbon with check combo box.
Is there any way to do this?


while init add “mode” for combo item:

{type: "buttonCombo", id: "combo1", text: "My Combo", mode: "checkbox", items: [...]}

then to access combo, add once after dhtmlx is loaded:

dhtmlXRibbon.prototype.getCombo = function(id) { var item = this._items[id]; if (item != null && item.type == "buttonCombo") return item.combo; return null; };

and then in code:

var combo = myRibbon.getCombo("combo1");