:: Forum >>

Select two rows at once

Hi Alex,

Im facing a problem in one of my screens where i need to select rows in pairs for example if a user clicks on the first or the seccond row both rows should be highlighted. Is there a way to tackle this?

Thanks in advance

IS
IS
Thursday, June 28, 2007
There is setSelectedRows(array) method which you can use. Also if you return non-zero code from the event handler then the default action will be cancelled, i.e.

obj.onRowClicked = function(event, row){
this.setSelectedRows([row, Number(row)+1]);
return 1;
}
Alex (ActiveWidgets)
Thursday, June 28, 2007

This topic is archived.


Back to support forum

Forum search