0 Replies Latest reply on May 26, 2008 10:15 PM by ParomitaDey15

    Any way to customize the headerClick event of an Accordion control

    ParomitaDey15
      Hi,

      Is there any way to control the transition of the accordion headers. I want a confirm message to appear when a header in an accordion control is clicked and if the user selects Yes then only the accordion should open the clicked header portion else the previous header portion should remain open.
      I tried to override the headerClick event and its event Handler but both are declared as private in the Accordion class also the event.preventDefault doesnot function. Is there any way to customize the header click event handling?
      I am working on Flex version 2.0.1.

      Thanks and Regards,
      Paromita