1 Reply Latest reply on Mar 18, 2008 3:12 PM by Pigg_Man

    How do you get the header change event to not fire in the AdvancedDataGrid Component

    Pigg_Man Level 1
      I have an Advanced Datagrid. I only want the user to be able to resize the columns... So set the following

      MyAdvancedDataGrid.draggableColumns = false;
      MyAdvancedDataGrid.sortExpertMode = true;
      MyAdvancedDataGrid.sortableColumns = false;
      MyAdvancedDataGrid.addEventListener(ListEvent.CHANGE, dgChange);

      private function dgChange(e:ListEvent):void {

      }

      For some reason when I click the header the change event gets fired and the selected index gets set to -1. Does anyone know how to prevent this event from bubbling up? Any help would be greatly appreciated.