:: Forum >>
Link in grid doesn't work with selektion-mode 'multi-row'
I use selektion-mode 'multi-row' in a grid and there's a column with AW.Template.Link.
The link only works with selektion-mode 'single-row' not with 'mulit-row'.
Will the problem be fixed in the next version?
Claudia
Monday, August 13, 2007
Or is there a workaround?
Claudia
Friday, August 17, 2007
This is a bug in row click event handler which cancels default action for the event, and the link navigation does not work. Here is a workaround -
obj.onRowClicked = function(event, i){
var rr = this.getSelectedRows();
if (rr.length != 1 || rr[0] != i){
this.setSelectedRows([i]);
}
if (i!=this.getCurrentRow()){
this.setCurrentRow(i);
}
return true;
}
Alex (ActiveWidgets)
Friday, August 17, 2007
This topic is archived.
Back to support forum
Forum search