[flexcoders] I want to apply a default sorting to the datagrid when it's dataprovider is set

2010-02-16 Thread hansenallanlund
i have an initial default sorting set on my datagrid tasksList.dispatchEvent(new DataGridEvent(DataGridEvent.HEADER_RELEASE, false, true, UPDATE_DATE_COLUMN_POSITION, null, 0, null, null,0)); however i need to know what event to listen for if i only want to set the default sorting when the

[flexcoders] I want to apply a default sorting to the datagrid when it's dataprovider is set

2010-02-16 Thread hansenallanlund
i have an initial default sorting set on my datagrid tasksList.dispatchEvent(new DataGridEvent(DataGridEvent.HEADER_RELEASE, false, true, UPDATE_DATE_COLUMN_POSITION, null, 0, null, null,0)); however i need to know what event to listen for if i only want to set the default sorting when the