3.0.0

Hide row-number column

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

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

// disable row selectors
obj.setSelectorVisible(false);
Eric Juvet
June 22,
Can I get Row Position numbers in any other column of the grid. Please give script for this.
RaviCP
February 8,
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)
February 8,

This topic is archived.

See also:


Back to support forum

Search

Version 2

Looking for AW 2.6 ?
The old site is here.