:: Forum >>

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
Thursday, March 27, 2008

This topic is archived.


Back to support forum

Forum search