1 Reply Latest reply on Oct 16, 2006 8:07 AM by peterent

    datagrid column header event issue


      I'm trying to find the event that gets triggered when a column header is dragged and one when its droped to a new position in the grid but no luck so far Any ideas ?

        • 1. Re: datagrid column header event issue
          peterent Level 2
          The DataGrid's headerShift event will be dispatched when the mouse is released with the column in a new position.

          As for detecting the actual drag of the column, you need more primative events. You can listen for mouseDown events and note the row number (header row is row 0). You can then listen for mouseMove events while the mouse is dragging the column.