1 Reply Latest reply on Nov 27, 2008 1:29 AM by Milo[HUN]

    Datagrid Events


      I'm managing an AdvancedDatagrid, and i'd like to log when sy change the order os the columns, for example when switching up columns, like the first goes to the place of the third, etc. But the problem is i don't have a clue what kind of event should i listen. The AdvancedDataGridEvent.HEADER_* events simply don't works just as the AdvancedDataGridHeaderShiftEvent.HEADER_RELEASE. Please somebody help me out!
        • 1. Re: Datagrid Events
          Milo[HUN] Level 1
          Allright then, i've found a solution:
          once you grab a header column, and then switch it with another in datagrid, after the drop an IndexChangedEvent is dispatched. By that you can monitor how indices changed (by event.oldIndex and event.newIndex).