Is there a way to set the sortIndex of a datagrid manually, or to  
manually clear the sort arrow? I have a DataGrid which allows things  
to be dropped in to it at arbitrary locations, which would change it  
to unsorted, but I can't figure out how to remove the sort arrow in  
the header to reflect the unsorted state.

Also, is there a way to determine what the current sort order of a  
column is? It seems like each column keeps its own sort direction  
separately, so I've had luck just keeping my own array for sort order  
flags, but there is a chance that the two separate records will get  
out of parity, given the above case.

Keep in mind that I'm doing entirely custom sorting of the datagrid's  
provider on the headerRelease event. (by setting  
sortableColumns="true" on the grid, and sortable="true" and  
sortOnHeaderRelease="false" on the columns)

Thanks,
Sean




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


Reply via email to