I've a column in my table with file sizes like:
985.01 kb
1.2 mb
42 kb
....
the number parser doesn't work on these kind of numbers
I guess we need some other parser for these kind of numbers
found something that might help - I'll give it a try
here is what I got: if(type == "KB")
value = value*1024;
else if(type == "MB")
value = value*[Math.pow(1024,2)];
else if(type == "GB")
value = value*[Math.pow(1024,3)];
else
return "error";
sorting on a "string" column works - the date colum I have fails
totally - I'm just getting a white area where the table was.
another issue I'm experiencing is that the column header that get's
sorted upon loading of the page has both css classes applied like: <th
class="txtR asc desc">???