3.2.0

AW.Templates.Combo for changing a cellText

Hello,
I am using a AW.Templates.Combo.
I would like to change another column with the selection of a Item from the ItemList of the combo.
Trying with a UI.button all works but if I insert this code in the
onCellTextChanged – event handler I end up in an endless loop.
Could someone please help me.
This is the code I tried:

grid.onCellTextChanged = function(text, col, row){ alert("-");
grid.setCellText("test",1,row);
}


Thank in advance
Otto
Otto Atzwanger
September 9,
To prevent a loop check the column index -
grid.onCellTextChanged = function(text, col, row){
  if (col != 1){
    this.setCellText("test",1,row);
  }
}
Alex (ActiveWidgets)
September 9,

This topic is archived.

See also:


Back to support forum