:: Forum >>

Hide row-number column

Is it possible to the hide the column populated with the row numbers?
Curtis
Thursday, June 22, 2006
Yes, as follows:

// create ActiveWidgets Grid javascript object
var obj = new AW.UI.Grid;

// disable row selectors
obj.setSelectorVisible(false);
Eric Juvet
Thursday, June 22, 2006
Can I get Row Position numbers in any other column of the grid. Please give script for this.
RaviCP
Thursday, February 8, 2007
Use getRowPosition() method -

function cells(col, row){
    return col + "." + row;
}

function position(col, row){
    return this.getRowPosition(row)+1;
}


var obj = new AW.UI.Grid;

obj.setCellData(cells);
obj.setCellData(position, 0); // first column

obj.setColumnCount(10);
obj.setRowCount(10);

document.write(obj);

Alex (ActiveWidgets)
Thursday, February 8, 2007

This topic is archived.


Back to support forum

Forum search