:: Forum >> Version 2 >>

Grid Sort

Please excuse me if this is a known bug, but im having trouble with refresh in my grid after forcing a sort.

Im calling a sort mygrid.sort(0, 'ascending'); which works fine.

If i then get element 0,0 the returned value is the original value before the sort.

If I use mygrid.refresh then i get weird results in the grid.

Can anyone help please?

SM
Simon
Sunday, May 14, 2006
hai


// create ActiveWidgets Grid javascript object
var obj = new AW.UI.Grid;

// define data formats
var str = new AW.Formats.String;
var num = new AW.Formats.Number;


// which colomn u want to sorting use this code
obj.setCellFormat([str, str, num, num, num]);
Ravindra Urlam
Sunday, May 14, 2006



This topic is archived.

Back to support forum

Forum search