3.2.0

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
December 28,
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)
January 5,
Any solution for it?
Sudhaker Raj
June 30,

This topic is archived.

See also:


Back to support forum