         {
             previouslySelectedIndices = null;
             previouslySelectedCells = dataGrid.selectedCells.slice(0, dataGrid.selectedCells.length);
+//            for each (var cell:CellPosition in dataGrid.selectedCells)
+//            {
+//                trace("cell position = (" + cell.rowIndex + "," + cell.columnIndex + ")");    
+//            }
         }
     }
     

    //  Variables
    //
    //--------------------------------------------------------------------------
    private var previouslySelectedIndices:Vector.<int>;
    private var previouslySelectedCells:Vector.<CellPosition>;
   
    private var lastEvent:Event;
    
    //--------------------------------------------------------------------------
    //

        grid.addEventListener(MouseEvent.MOUSE_DOWN, grid_mouseDownHandler, false, 1000);
        grid.addEventListener(GridEvent.GRID_MOUSE_DOWN, grid_gridMouseDownHandler);
        grid.addEventListener(GridEvent.GRID_MOUSE_UP, grid_gridMouseUpHandler);
    }
    
    /**
