 
         // Height is usually as tall is the items in the row, but not if
         // it would extend below the bottom of listContent
-		var height:Number = 0;
-		if (lastRow)
-        	height = Math.min(lastRow.y + lastRow.height, listContent.height - yy);
+        var height:Number = Math.min(lastRow.y + lastRow.height,
+                                     listContent.height - yy);
 
         g.drawRect(xx, yy, headerInfo.headerItem.width, height);
         g.endFill();

        var g:Graphics = background.graphics;
        g.clear();

        if (columnIndex >= lockedColumnCount && 
           columnIndex < lockedColumnCount + horizontalScrollPosition)
            return;


                var newData:Object = itemEditorInstance[_columns[event.columnIndex].editorDataField];
                var property:String = _columns[event.columnIndex].dataField;
                var data:Object = event.itemRenderer.data;
                var typeInfo:String = "";
                for each(var variable:XML in describeType(data).variable)
                {
                    if (property == variable.@name.toString())
                    {
