:: Forum >>
Set a CellLink at runtime
Hi All,
I'm having great difficulty setting a cell link at runtime, using the value from a grid cell which has just been edited?
I can change the text of a cell quite easily with something like:-
browse_obj.onCellEditEnded = function(text, col, row){
this.setCellText("Text entered was: "+text, 5, row);
}
but when I try and use 'setCellLink' it just won't change.
Has anybody got any ideas?
Cheers,
Andy
Andy Wilton
Friday, April 28, 2006
Apparently this is a bug. In 2.0 you have to refresh the target cell after modifying the link. Or add this code -
obj.onCellLinkChanged = function(value, col, row){
this.getCellTemplate(col, row).refresh();
}
Alex (ActiveWidgets)
Friday, April 28, 2006
This topic is archived.
Back to support forum
Forum search