move in datadrid using ENTER key

Hello,

I need to move by a datagrid using ENTER key instead of TAB key. I just want that when I'm editing a row, pressing enter I go to the next row in next column. Anyone knows how can I do it?

Thanks
jbadiaAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

blue-genieCommented:
to use the enter key your dataGrid must be editable. then you'll go from one row to the next.

blu.
0
jbadiaAuthor Commented:
yes, I have my datagrid editable = true, but when I press enter, i don't go to the next column as I want
0
blue-genieCommented:
what is it doing when you press enter now?

what version of flash are you using?
as i see it here, pressing tab takes you to the next column - same row.
pressing enter, takes you to the next row, within the same column - so you want to swap the functionality around?


0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

jbadiaAuthor Commented:
Im' using MX 2004. If I press Enter, I go to next row, and Tab to next column. I want that when pressing enter, move to next column, like when I press tab
0
blue-genieCommented:
then what you're trying to do is change the actual functionality of the component.

create a duplicate of your component and its class files, and edit it there.

blu.
0
jbadiaAuthor Commented:
how can I edit My class files? Where are them?
0
blue-genieCommented:
it's quite a hectic procedure.

if you look inside your program files folder

your path should look something like:
C:\Program Files\Macromedia\Flash MX 2004\en\Configuration\ComponentFLA

there's a standard components fla in there, what you should do is make a copy it.

then you'll find your datagrid classes somewhere in

C:\Program Files\Macromedia\Flash MX 2004\en\First Run\Classes\mx\controls

you should make a new component so as to not f**k up the original, so make a copy of the class as well, and change your pointers accordingly.

if i get a chance I"ll have a look at it, but as far as I know, its not an easy task.

You'll need to be pretty clued up on OOP and AS2.

blu.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
jbadiaAuthor Commented:
ok, thanks, i think I'll desist!
0
blue-genieCommented:
good choice :-)

0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Adobe Flash

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.