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

How do I control Column reordering

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

2 Replies

AD Administrator Syncfusion Team 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.


AD Administrator Syncfusion Team 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

Loader.
Up arrow icon