3.2.0

single row selection from multi-row-marker grid

Hi

obj.setSelectionMode("multi-row-marker");

I want to select single row (single check box checked). Is it possible.. please help me. or any other idea to implement...

-Balakumar
June 5,
found a solution..

obj.onCellClicked = function(event, col, row){
var j=0;
for(var i=0;i<obj.getRowCount();i++) {
if(obj.getCellValue(0,i)) {
j = j + 1;
if ( j > 1)
{
alert("Multiple selection is not allowed");
obj.setCellValue(false,0,i);
//obj.refresh();
}
}
}

Thanks
Balakumar
June 6,

This topic is archived.

See also:


Back to support forum