setting the sort indicator manually
Version 2.0
I must be doing something wrong but setting the sort index does not seem to be working... I'm trying doing it before the grid gets rendered.
var obj = new AW.UI.Grid;
obj.setHeaderText(["1","2","3"]);
obj.setRowCount(1);
obj.setColumnCount(3);
//obj.setSortColumn(2);
obj.setSortColumn("ascending", 2);
document.write(obj);
I cut out some stuff for ease of reading...
I'm just trying to default the grid to show a header with the sort indicator for a specific column. Can you please tell me what I am doing wrong? Thanks very much!
I must be doing something wrong but setting the sort index does not seem to be working... I'm trying doing it before the grid gets rendered.
var obj = new AW.UI.Grid;
obj.setHeaderText(["1","2","3"]);
obj.setRowCount(1);
obj.setColumnCount(3);
//obj.setSortColumn(2);
obj.setSortColumn("ascending", 2);
document.write(obj);
I cut out some stuff for ease of reading...
I'm just trying to default the grid to show a header with the sort indicator for a specific column. Can you please tell me what I am doing wrong? Thanks very much!
Joe Hudson
October 26,