Regarding XTP_NM_REPORT_PRESORTORDERCHANGED |
Post Reply |
Author | |
znakeeye
Senior Member Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
Posted: 07 October 2008 at 12:02pm |
XTP 12.0.1.
When I catch XTP_NM_REPORT_PRESORTORDERCHANGED I would like to be able to stop the sorting.
The reason for this is that when I click a column header, I want to re-populate the control with new data from an SQL-database where I specify "ORDER BY ClickedColumn". Hence, sorting the items on client side is of no interest!
I think I can override CXTPReportHeader::OnLButtonUp and somehow avoid the unwanted sort/populate (if I can escape friend class hell), but I would expect this message to have this functionality. Perhaps XTP_NM_REPORTCOLUMNRESIZE should be extended with a "bCancel" which would then be sent together with this message?
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |