3.2.0

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

This topic is archived.

See also:


Back to support forum