setSelectionMode() is not a function ???
Please, can U anyone tell me What I am doing Wrong ?
see the example:
Error Console always says the function does not exsist and the Grid is not displayed...
:(
PLS ASAP... THX
see the example:
var grid1 = new AW.Grid.Extended;
// define data formats
var str = new AW.Formats.String;
var num = new AW.Formats.Number;
grid1.setCellFormat([str, str, num, num, num]);
// provide cells and headers text
grid1.setCellText(grid1_data);
grid1.setHeaderText(grid1_Columns);
// set number of rows/columns
grid1.setRowCount(20);
grid1.setColumnCount(5);
[b]grid1.setSlectionMode("single-row");[/b]
// enable row selectors
grid1.setSelectorVisible(false);
grid1.setSelectorText(function(i){return this.getRowPosition(i)+1});
// set headers width/height
grid1.setSelectorWidth(28);
grid1.setHeaderHeight(20);
grid1.setCellEditable(false);
grid1.setFixedLeft(5);
grid1.setVirtualMode(true);
Error Console always says the function does not exsist and the Grid is not displayed...
:(
PLS ASAP... THX
ASJ
April 22,