Here is a work around until we can get a release out that has this corrected. The idea is to use HScrollPixel=false so the scrolling works ok, but to extend the right-most column to fill up the empty space on the right side of the grid that you do not want to see. Maybe this will serve your needs until we get this corrected.
//at the bottom of form.load
this._grid.HScrollPixel = false;
this._grid.Model.QueryColWidth += new GridRowColSizeEventHandler(Model_QueryColWidth);
this._grid.HScrollBar.Scroll += new ScrollEventHandler(HScrollBar_Scroll);
//the handlers
private void HScrollBar_Scroll(object sender, ScrollEventArgs e)
{
if(this._grid.ViewLayout.LastVisibleCol == this._grid.Model.ColCount)
this._grid.InvalidateRange(GridRangeInfo.Col(this._grid.ViewLayout.LastVisibleCol));
}
private void Model_QueryColWidth(object sender, GridRowColSizeEventArgs e)
{
if(e.Index == this._grid.Model.ColCount)
{
//starts at 1 as headers are hidden...
int w = this._grid.Model.ColWidths.GetTotal(1, this._grid.Model.Cols.FrozenCount)
+ this._grid.Model.ColWidths.GetTotal(this._grid.LeftColIndex, e.Index - 1);
e.Size = this._grid.ClientSize.Width - w;
if(e.Size > 0)
e.Handled = true;
}
}