Grid, on scroll, leaving large sections of white space

Hi There,
Can you help me configure the grid so that it doesn’t leave large empty sections where rows should be during\after a scroll.

I’ve been using 2.5 grid, and tried again with 2.6 grid but the same issue remains. I’m very new to this and don’t have as much time as I’d like to learn about the grid from the ground up. Perhaps someone can look at this code and quickly recognise where the problem might be.

Many Thanks,
Mike D.

function DrawGrid(Id) {
$(document).ready(function() {
$.ajax({ url: $(’#relativepath’).val() + “MembershipAdministration/AvailableMetaDefVisibilityObjectsSiteDefault/” + Id, dataType: “xml”, cache: false,
success: function(data) {
drag_Grid = new dhtmlXGridObject(‘drag_Grid’);
drag_Grid.setImagePath("…/…/Scripts/dhtmlxGrid/codebase/imgs/");
drag_Grid.setColumnIds(“ID,VisibilityTypeID,Name,DataType,SizeFormat,Description,Display,Order”);
drag_Grid.setHeader(“ID,VisibilityTypeID,Name,DataType,SizeFormat,Available,Display,Order”);
drag_Grid.setInitWidths(“0,0,0,0,0,*,0,0”);
drag_Grid.setColAlign(“left,left,left,left,left,left,left,left”);
drag_Grid.setColTypes(“ro,ro,ro,ro,ro,ro,ro,ro”);
drag_Grid.setColSorting(“int,int,str,str,str,str,bool,int”);
drag_Grid.attachHeader("#rspan,#rspan,#rspan,#rspan,#rspan,#text_filter,#rspan,#rspan");
drag_Grid.enableAutoHeight(false);
drag_Grid.enableDragAndDrop(true);
drag_Grid.attachEvent(“onDrop”, onDropFunc);
drag_Grid.enableMultiselect(true);
drag_Grid.enableSmartRendering(true);
drag_Grid.init();
drag_Grid.xml.top = “ArrayOfVisibilityMetadataDefinition”;
drag_Grid.xml.row = “./VisibilityMetadataDefinition”;
drag_Grid.setSkin(“xp”);
drag_Grid.parse(data, “xmlB”);
}, error: function(data) { alert(“drag_Grid Error”); }
});
return false;
});
}
}

This issue may occur if rows height has been changed. If so, you should define new row’s height with setAwaitedRowHeight() method:

mygrid.setAwaitedRowHeight(25);

where 25 - actual row’s height