3.2.0

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
August 13,
Or is there a workaround?
Claudia
August 17,
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)
August 17,

This topic is archived.

See also:


Back to support forum