PDA

View Full Version : question about datagrids


stonyx
07-17-2006, 09:07 PM
hello, is it possible to make a backbutton for a datagrid
anyone have a sample?

stonyx
07-21-2006, 10:58 PM
any one?

wintzell
07-22-2006, 03:31 PM
Maybe I'm stupid, but I don't catch your drift...

Back for what in the datagrid???

stonyx
08-02-2006, 04:05 PM
what i want is to go back to the last row i clicked in the datagrid with a back button

hangalot
08-02-2006, 04:33 PM
possible. will have to write the code yourself. trap the index of the click events and store that.

flexy
08-02-2006, 08:57 PM
Yeh, as your user clicks each row, store the index value in an array. For them to go back, you can then just call each preceeding index value in your array.

Datagrid doesn't have any association with the history management feature in Flex, so being able to use the back button is a no no, without some hefty JavaScript.

stonyx
08-03-2006, 07:15 PM
thanks for your reply
but i forgot to say i'm really new with FLEX and AS jejeje
is there any example on the internet or something?

stonyx
08-07-2006, 07:47 PM
any other ideas?

Please

stonyx
08-16-2006, 09:29 PM
please :D