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
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,