Hi,
Here is the code snippet and a
demo sample, demonstrating the way to resize the columns and rows in the griddataboundgrid.
this.gridDataBoundGrid1.Model.ColWidths.ResizeToFit(GridRangeInfo.Table(), GridResizeToFitOptions.NoShrinkSize);
this.gridDataBoundGrid1.Model.RowHeights.ResizeToFit(GridRangeInfo.Table(), GridResizeToFitOptions.NoShrinkSize);
Let us know if this helps.
Best regards,
Madhan.