:: Forum >> Version 2 >>

checkbox help

hi,

I have a column with checkboxtemplate but the table's underlying model is an xml file loaded separately.
var chkBox = new AW.Templates.Checkbox;
gridObj.setCellTemplate(chkBox,);
gridObj.setColumnResizable(false5);

gridObj.onCellValueChanged = function(valuecolrow) {
  if (
col == 5) {
      var 
node this.getCellModel().getNode(colrow);
      if (
node != nullnode.text value;
  }
  return 
0;
};
 
My problem is next to the checkbox there is text apprearing "-1" if checkbox is checked and "0" if unchecked. Is there a way that i can remove the text next to the checkbox?
Raj Nair
Tuesday, February 6, 2007
Yes, you can remove text element -

var chkBox = new AW.Templates.Checkbox;
chkBox.setContent("box/text""");
gridObj.setCellTemplate(chkBox,);
...
 
Alex (ActiveWidgets)
Wednesday, February 7, 2007



This topic is archived.

Back to support forum

Forum search