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.
Unfortunately, activation email could not send to your email. Please try again.

Sorting in a GDBG

Thread ID:

Created:

Updated:

Platform:

Replies:

41434 Mar 1,2006 05:09 PM Mar 2,2006 05:11 AM Windows Forms 1
loading
Tags: GridControl
Kenneth Johnson
Asked On March 1, 2006 05:09 PM

I have a GDBG loaded from a DataTable. One column is hidden. When the user selects another column to sort, I set the DataTable.DefaultView.Sort to the hidden column. This works except for the missing arrowhead on the selected column that indicates the type of sort. Is it possible to get it back?

Administrator [Syncfusion]
Replied On March 2, 2006 05:11 AM

Hi Ken, Yes, it is possible by setting the tag property to the required header cell. In GDBG, you can set these tag properties only through the Model.QueryCellInfo event handler. One way you can acheive this would be to set a flag in the CellClick event and check this flag in order to enable the sorting icon for the header cell in the Model.QueryCellInfo. Here is a sample. Let us know if this helps. Best Regards, Madhan.

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.

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.

;