colum width GDBG in gridRecordNavigationControl

Hello.
I can adjust colum width of GDBG
with below code.

GridDataBound1.Model.ColWidths["Name"] = 100;

But it didn't work when GDBG is in
gridRecordNavigationControl.

Is there any way to adjust colum of GDBG ??
Please, advice to me.
Thank you very much.


1 Reply

RC Rajadurai C Syncfusion Team December 2, 2008 02:08 PM UTC

Hi Chin,

Thanks for your interest in Syncfusion products.

Before setting column width in GDBG with the code you mentioned, please set AllowResizeToFit property to false.

i.e.,

this.gridDataBoundGrid1.AllowResizeToFit = false;
this.gridDataBoundGrid1.Model.ColWidths[columnname] = 100;


Regards,
Rajadurai


Loader.
Up arrow icon