3.0.5

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
April 28,
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)
April 28,

This topic is archived.

See also:


Back to support forum