FLEXBuilder 3 standalone, SDK 3.5
Hello, I have a List control with an item renderer. Through data binding, selection of an item in the list displays the corresponding data set in a form for editing. Changes are updated by clicking a SAVE button.
If changes have been made in the form but not saved, I need to prompt the user if they attempt to move to another List item. If they confirm the prompt, move to the item they clicked on, discarding their changes, if not, stay where they are so they have the opportunity to click "save".
I've tried with a Listener on the List's click event, also with preventDefault() but nothing seems to intercept the default function of changing the selected item.
Any help would be greatly appreciated.