Prevent DataGrid Columns from scrolling

Is there any way of freezing columns in Windows Forms Data Grid control? Thanks

1 Reply

AD Administrator Syncfusion Team December 20, 2005 12:58 PM UTC

Hi Pls try this code in PaintEvent foreach(Control ctl in dataGrid1.Controls) if(ctl is ScrollBar ) ((ScrollBar)ctl).Enabled=false; >Is there any way of freezing columns in Windows Forms Data Grid control? > >Thanks

Loader.
Up arrow icon