Ribbon -> get if checkbox is checked or not checked

Hello!
i’d like to know how could i get if checkbox is checked or not,
i generate ribbon from xml .

Thanks to all,
Bajo.

I forgot…
the same for radio button …
thnks again,
Bajo.

Hi

for checkbox add once after dhtmlx.js is loaded

dhtmlXRibbon.prototype.isChecked = function(id) { var item = this._items[id]; if (item && typeof(this.items[item.type].isChecked) == "function") { return this.items[item.type].isChecked(item); } }; dhtmlXRibbon.prototype.items.checkbox.isChecked = function(item) { if (item.type != "checkbox") return false; return (item.conf.checked == true); };

ribbon does not have radio control.