We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

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 07:58 AM

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.
Live Chat Icon For mobile
Up arrow icon