 			const rowIndices:Vector.<int> = getVisibleRowIndices();
 			for each (rowIndex in rowIndices)
 			{
+				// If there are any padding rows, skip them.
+				if (rowIndex >= dataProviderLength)
+					break;
+				
 				dataProvider.itemUpdated(dataProvider.getItemAt(rowIndex), dataField);			
 			}
 		}

    }        
    
    /**
     *  Return the data provider indices of the currently visible rows.  
     *  Note that the item renderers for the first and last rows 
     *  may only be partially visible.  
     *  The returned vector's contents are in the order they're displayed.
     * 
     *  @return A vector of the visible row indices.

     *  @playerversion AIR 2.5
     *  @productversion Flex 4.5
     */
    mx_internal function createGridSelection():GridSelection
    {
        return new GridSelection();    
    }
