3.2.0

can selector template have checkbox and radio button?

so i have a checkbox in the selector column. is there anyway to put another control - a radio button, or even a small text edit field, next to it?

awGrid.setSelectorVisible(true);
awGrid.setSelectorWidth(60);
awGrid.setSelectorTemplate(new AW.Templates.CheckBox);

awGrid.onSelectorValueChanged = function(v, i) {
this.getSelectorTemplate(i).refresh();
};

i tried putting HTML in awGrid.setSelectorText("<input type=xxx etc>") but the events seem to be all screwed up, when i click into the other control, it thinks the checkbox is clicked.

thanks
mango
March 27,

This topic is archived.

See also:


Back to support forum