Try dataGrid.sortDirection 
 
if (dataGrid.sortDirection == "DESC") {
  // your stuff here
} else {
 
}
 
Dirk.

 
________________________________

Von: [email protected] im Auftrag von adit sathish
Gesendet: Mi 29.06.2005 14:31
An: [email protected]
Betreff: [flexcoders] DataGrid Sorting


How can i determine the sorted column of a datagrid and in what order(Ascending 
or Descending). I need these information while adding a new row with some 
values to the dataprovider so that i can call sortItemsBy() function for that 
column in the datagrid. 
I don't want to implement this logic by keeping track of headerRelease event 
through a local variable.
 
Adit Shetty
 

________________________________

Free antispam, antivirus and 1GB to save all your messages
Only in Yahoo! Mail: http://in.mail.yahoo.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 
<http://groups.yahoo.com/group/flexcoders> " on the web.
          
*        To unsubscribe from this group, send an email to:
         [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> 
          
*        Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service 
<http://docs.yahoo.com/info/terms/> . 


________________________________




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

<<winmail.dat>>

Reply via email to