We are using UltrWebGrid v11.1. The issue we have encountered is in the scenario of first scrolling, then editing a cell with the edit template, and after a close of template, trying to resize the grid (Example to 25 rows from 10 rows) , we get a null exception on the move line (see line in bold below). {Object reference not set to an instance of an object."} If no scrolling occurs and the above events occur on first view, there are no issues. This seems to be a scrolling concern.
Any suggestions would be great.
Thanks.
public
static void SetColumnFormat(UltraGridColumn gridColumn, int width, string caption, bool
fixedHeader,
colPosition)
{
gridColumn.Width = width;
gridColumn.Header.Caption = caption;
gridColumn.Header.Fixed = fixedHeader;
gridColumn.Header.RowLayoutColumnInfo.OriginX = colPosition;
gridColumn.Header.RowLayoutColumnInfo.OriginY = originY;
gridColumn.Header.RowLayoutColumnInfo.SpanX = spanX;
gridColumn.Header.RowLayoutColumnInfo.SpanY = spanY;
gridColumn.Hidden = hidden;
gridColumn.Move(colPosition);
}
Hi,
I have tried to figure out the above bug, but would really appreciate some assistance. Why does .Move throwing a null exception after another column has already been moved?