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

How do I control Column reordering

Thread ID:

Created:

Updated:

Platform:

Replies:

1592 Nov 13,2002 01:03 PM UTC Nov 13,2002 02:08 PM UTC WinForms 2
loading
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

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

;