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

Sorting in a GDBG

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?

1 Reply

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

Loader.
Live Chat Icon For mobile
Up arrow icon