7 Replies Latest reply on Nov 17, 2009 9:57 AM by Flex harUI

    Consuming mouse events

    TomDelorenzi Level 1

      So my super cool datagrid component is almost perfect. I have column filtering working but my only issue left (That i know of) is I cannot consume mouse events on column header components.

      For example when they click on the filter text field in the column header to type in a filter, it sorts the column.

      I put the following in my event handlers:

      evt.stopImmediatePropagation();

      But it did not seem to do it. I thought that the event would be given to the component clicked, and then bubble up the parent hierarchy. Is there something else I should try? Same thing happens when they pick a filter type via a button I put in the header.