Copy link to clipboard
Copied
I have a datagrid which I create it on run using AS3, flash CS6. it has many rows but only to columns.
Column 1(not editable) is a random math question and column 2 is an editable cell and is meant for writing the answer by the user.
Let's say I have 5 rows( 5 questions and user will write 5 answers), and the user completes the answers and clicks the check answer button.
How can I access to all 5 answers from their respective cells in datagrid?
Is there a way to addEventListener to a specific cell in datagrid? is this a possible solution?
Thanks for any help!
Best regards!
HR
Copy link to clipboard
Copied
the datagrid class has a DataGridEvent.ITEM_EDIT_END event that has a rowIndex and colIndex you can use.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now