:: Forum >>
hi, a BIG Bug? (III)
<script>
obj = new Active.Controls.Grid;
obj.setRowCount(DB.length);
obj.setDataText(function(i, j){return DB[i][j]);
obj.sort(0); // OH! can't refresh with sort?
document.write(obj);
function fixDB(){
DB.shift();
obj.setRowCount(DB.length);
obj.refresh();
}
</script>
<button onclick="fixDB();">OH! can't refresh with sort?</button>
AimingZhou
Sunday, December 28, 2003
Yes, that's a bug. It is not related to obj.refresh() but rather to obj.setRowCount() - this call re-initializes row order array.
Alex (ActiveWidgets)
Monday, January 5, 2004
Any solution for it?
Sudhaker Raj
Wednesday, June 30, 2004
This topic is archived.
Back to support forum
Forum search