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

Lost ability to reorder columns after ExcelLikeCurrentCell = True in GDBG

Thread ID:





55002 Jan 22,2007 05:36 PM UTC Jan 22,2007 06:28 PM UTC WinForms 1
Tags: GridControl
Patrick Rumery
Asked On January 22, 2007 05:36 PM UTC

v 4.402.0.51
I lost the ability to reorder columns after I set ExcelLikeCurrentCell = True. I can sort, but I can't change the order of the columns. My goal is to remember the last cell before a database refresh so I can set that cell active. The grid has 30+ columns and is a pain to the users to refresh and then have to scroll back to the last cell they were using. If I turn off ExcelLikeCurrentCell I lose the ability to set the active cell. It will set the row , but the column is always set to 1. What am I doing wrong?

Administrator [Syncfusion]
Replied On January 22, 2007 06:28 PM UTC

Hi Prumery,

By default, setting ExcelLikeCurrentCell mode disables dragging columns. This is by design since selecting rows in ExcelLikeCurrentCell mode does not allow other types of selections (like selecting columns to drag them).

If you want to support the ExcelLikeCurrentCell behavior in a grid, then you can use the PrepareViewStyleInfo event and set the Border style for the currentcell. Then handle the CurrentCellActivated event to add the selection with Currentcell. Please refer to the attached sample for more details.

Sample : GDBGTag.zip

Best Regards,


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