Hi

Use the sort event in the datagrid that you are using

On Apr 7, 1:00 am, Dharmendra Tolani <[email protected]>
wrote:
> Sorry for the repost, but there was an edit in the question and
> the original question is yet to appear here.
>
> In Adobe Flex, when user presses and releases Mouse on a column header
> in a Datagrid, the corresponding sorting function for the column is
> called. Is there a way to figure out, when does the sorting stop?
> Basically, there is a column "Serial Number" in the datagrid, which I
> want to relabel, when the sorting for a particular column happens and
> stops.
>
> I need it because : There is an year column in my datagrid. When I
> sort it, suppose there are 6 entries :
>
> 2008
> 2008
> 2008
> 2009
> 2009
> 2009
>
> I want the labeling to be 1,2,3,1,2,3, i.e. the labeling restarts
> after the year changes.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to