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. (Last updated on : November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Prevent DataGrid Columns from scrolling

Thread ID:

Created:

Updated:

Platform:

Replies:

27928 Apr 20,2005 12:45 PM UTC Dec 20,2005 12:58 PM UTC WinForms 1
loading
Tags: FAQ
pankaj banga
Asked On April 20, 2005 12:45 PM UTC

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

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

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.

Warning Icon 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.Close Icon

;