>>Add one extra pixel at the end of the grid. This prevents this from happening. > >To the width of the grid or the column?
Calculate the width of the last column so the total of column widths would be less than the width of the grid minus the width of the scrollbar (if any) etc etc - message #1368538.