Use ArrayCollection as a dataProvider for datagrid, and while adding new data, use ArrayCollection.addItemAt(item, index) function, as follows
arryColl.addItemAt(data, 0), where 0 is the index in which the data should be injected. Regards, the coding robot On Sat, Jan 8, 2011 at 6:02 PM, phani pvr <[email protected]> wrote: > Hi All, > > I want to show the data in Datagrid in LastInFirstOut(LIFO) (Same as Gmail > or yahoo how we see latest mails first). Can any one help me how to do this. > > Thanks in Advance. > > Regards, > Phani. > > -- > 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]<flex_india%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/flex_india?hl=en. > -- 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.

