Data Rows not scrolling...
can anyone tell me what I am doing wrong? I have 32 rows of data, rows 1 .. 22 are showing as is the vertical scroll bar per my grid object size. but scrolling down only refreshes rows 1..22. This problem cropped up when porting from AW v1.0 to v2.0b4
I have a live example of my problem at:
http://technospecs.com/awscrollproblem.htm
relevent code (I think):
<code>
try {
var obj= new AW.UI.Grid;
var str = new AW.Formats.String;
var num = new AW.Formats.Number;
obj.setCellFormat([num, str, str, num, num, str, str, str, str, str, num, num, num, str, str, str, str]);
// Data grid size (X,Y) ** Correct **
obj.setColumnCount(17);
obj.setRowCount(32);
// Header Names **OK**
obj.setHeaderText(function(c){return obj_columns[c]});
// Cell Data **Does not scroll??**
// obj.setCellText(function(c, r){return obj_data[r][c]});
obj.setCellText(obj_data);
// post aw grid
document.write(obj);
}
catch (error){
document.write(error.description);
}
</code>
I have a live example of my problem at:
http://technospecs.com/awscrollproblem.htm
relevent code (I think):
<code>
try {
var obj= new AW.UI.Grid;
var str = new AW.Formats.String;
var num = new AW.Formats.Number;
obj.setCellFormat([num, str, str, num, num, str, str, str, str, str, num, num, num, str, str, str, str]);
// Data grid size (X,Y) ** Correct **
obj.setColumnCount(17);
obj.setRowCount(32);
// Header Names **OK**
obj.setHeaderText(function(c){return obj_columns[c]});
// Cell Data **Does not scroll??**
// obj.setCellText(function(c, r){return obj_data[r][c]});
obj.setCellText(obj_data);
// post aw grid
document.write(obj);
}
catch (error){
document.write(error.description);
}
</code>
Ron
January 23,