:: Forum >> Version 2 >>

Hide row-number column

More information on this topic is available in the documentation section: /grid.howto.columns/hide.html.

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(colrow){
    return 
col "." row;
}

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


var 
obj = new AW.UI.Grid;

obj.setCellData(cells);
obj.setCellData(position0); // first column

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

document.write(obj);
 
Alex (ActiveWidgets)
Thursday, February 8, 2007



This topic is archived.

Back to /grid.howto.columns/hide.html

Documentation:

Forum search