Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS Tech Support » Sort order update Collapse All
Subject Author Date
Rado Manzela Apr 10, 2008 - 10:43 AM

I need to restore sort order used in tree grid control after program restart. I call  CExtGridDataProvider::SortOrderSet() with needed sort order while initializing of the grid (adding columns). Althought sorting works, the sorting arrows are not displayed in the column headers. How to solve this?

Thank you.


Technical Support Apr 11, 2008 - 12:27 PM

There is a CExtGridWnd::OnGridSyncCellSortArrows() method that you can use to assign sort arrows to header cells.