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: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How do I control Column reordering

Thread ID:





1592 Nov 13,2002 01:03 PM UTC Nov 13,2002 02:08 PM UTC WinForms 2
Tags: GridControl
Administrator [Syncfusion]
Asked On November 13, 2002 01:03 PM UTC

Hi, I want to let the end user reorder columns. But I don't want the user change the first column. E.g.: A, B, C, D, E columns are there. New order: A, C, E, D, B. A is fixed column. I tried to set the first column as Frozen. It just stops it from scrolling. Is there any way I can catch some kind of event while the column header is being dragged and stop it, if it is col# 1? Is there any way stop if column B, C, D or E being dropped before A? thanks, - Reddy

Administrator [Syncfusion]
Replied On November 13, 2002 02:00 PM UTC

You can catch the ColsMoving event, and cancel it if the args point to columns or a target location you do not want moved.

Administrator [Syncfusion]
Replied On November 13, 2002 02:08 PM UTC

Clay, Thanks for the quick response. That is exactly what I am looking for. I tried it and it works. thanks, - Reddy


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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

Live Chat Icon For mobile
Live Chat Icon