3.2.0

Sorting numbers not work on IE but work on firefox

we just purchased v2 and noticed a strange behaviour.

the sorting works fine on firefox, but on IE nothing happens.

obj.setCellValue(function(i, j){
var text = myData[j][i];
if (text == " " || text == "-")
return Number(0);
else
{
var newText = text.replace(/,/g,'');
newText = newText.replace(/[$]/g,''); // remove $ symbol
return Number(newText);
}
});

i tried to trace through and the Number returned are correct. another grid i have only text and sorting works fine.

any clues? thanks
heidit
April 14,
AHH it looks like 2 rows have the same value of 0, and IE breaks. any idea how to fix this?
heidit
April 14,
It looks like the same bug as here -

http://www.activewidgets.com/javascript.forum.13329.1/sort-problem-with-equal-values.html

if so, could be fixed by assigning numeric format to this column.
Alex (ActiveWidgets)
April 17,

This topic is archived.

See also:


Back to support forum