Column refresh not working
I'm using the 2.0.1 trial version of the grid at the moment and can't get it to refresh a single column, although refreshing individual cells works fine. I've put this example together to illustrate my problem - can anyone tell me what I've done wrong?
var obj = new AW.UI.Grid;
var data;
obj.setSize(300,300);
obj.setColumnCount(2);
obj.setRowCount(5);
document.write(obj);
Populate();
window.setTimeout(Refresh, 5000);
function Populate()
{
data = [["A",1],["B",2],["C",3],["D",4],["E",5]];
obj.setCellData(data);
obj.refresh();
}
function Refresh()
{
data[0][1] = 3;
data[2][1] = 1;
//obj.getCellTemplate(1,0).refresh();
//obj.getCellTemplate(1,2).refresh();
obj.getCellTemplate(1).refresh();
}
Rich
October 13,