Re: [flexcoders] datagrid column sort numerically?

2006-08-13 Thread Carlos Rovira



Here is another link,This one from Mike Chambers for Flex 1.5.Don't know if could be of help.Best,C.On 8/13/06, Impudent1
 <[EMAIL PROTECTED]> wrote:












  



I was noticing one one of my datagrids that its sorting a column of data 
as strings vs numbers.

ie if it contains values of 0, 120, 2 as default ascending sort, 
clicking the header results in a descending sort of 2,120,0.

http://www.5etdemi.com/blog/archives/2006/01/sorting-datagrid-columns-numerically/


had what I thought would be the trick but I seem to be stuck at a 
compile error:

X 1042: The this keyword cannot be used in static methods. It can only 
be used in instance methods, function closures, and global code.

So I ask, what am I missing? and is it just me or is this something that 
you would assume flexbuilders components should cover? Seems like 
something that would be come across a fair bit no?

Impudent1
LeapFrog Productions


  













-- ::| Carlos Rovira::| http://www.carlosrovira.com

__._,_.___





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com








   



  




  
  
  YAHOO! GROUPS LINKS



   Visit your group "flexcoders" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  






__,_._,___



[flexcoders] datagrid column sort numerically?

2006-08-13 Thread Impudent1
I was noticing one one of my datagrids that its sorting a column of data 
as strings vs numbers.

ie if it contains values of 0, 120, 2 as default ascending sort, 
clicking the header results in a descending sort of 2,120,0.

http://www.5etdemi.com/blog/archives/2006/01/sorting-datagrid-columns-numerically/

had what I thought would be the trick but I seem to be stuck at a 
compile error:

X 1042: The this keyword cannot be used in static methods. It can only 
be used in instance methods, function closures, and global code.


So I ask, what am I missing? and is it just me or is this something that 
you would assume flexbuilders components should cover? Seems like 
something that would be come across a fair bit no?

Impudent1
LeapFrog Productions





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/