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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Sorting in a GDBG

Thread ID:

Created:

Updated:

Platform:

Replies:

41434 Mar 1,2006 10:09 PM UTC Mar 2,2006 10:11 AM UTC WinForms 1
loading
Tags: GridControl
Kenneth Johnson
Asked On March 1, 2006 10:09 PM UTC

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 10:11 AM UTC

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.

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

;