:: Forum >> Version 2 >>

Set a CellLink at runtime

More information on this topic is available in the documentation section: /ui.input/.

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(valuecolrow){
    
this.getCellTemplate(colrow).refresh();
}
 
Alex (ActiveWidgets)
Friday, April 28, 2006



This topic is archived.

Back to /ui.input/

Documentation:

Forum search