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.
Unfortunately, activation email could not send to your email. Please try again.

Prevent DataGrid Columns from scrolling

Thread ID:

Created:

Updated:

Platform:

Replies:

27928 Apr 20,2005 08:45 AM Dec 20,2005 07:58 AM Windows Forms 1
loading
Tags: FAQ
pankaj banga
Asked On April 20, 2005 08:45 AM

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

Administrator [Syncfusion]
Replied On 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

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;