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 » CExtReportGridWnd column sort not working. Collapse All
Subject Author Date
Eric Houvenaghel Mar 6, 2009 - 8:25 AM

Hello


I have a grid that derives from CExtReportGridWnd.


This grid used to sort when clicking on the column header.


After upgrading to 2.84, this sort feature has vanished.


i.e. No more sorting when clicking on the column header.


Note that your CExtReportGridWnd sample also has this problem.


Is there a fix or something I have to do to reactivate it?


Thanks.

Technical Support Mar 9, 2009 - 10:36 AM

We are sorry for this inconvenience. To fix this issue, please update the source code for the following method:pre>CExtReportGridDataProvider::CExtReportGridDataProvider()
{
m_pTreeNodeDefaultRTC = RUNTIME_CLASS( CExtReportGridItem );
m_DP.m_bEnableSortOrderUpdatingRows = true;
}
</pre>