Print Page | Close Window

Sorting in a CXTPReportControl

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=11678
Printed Date: 14 September 2025 at 11:00pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Sorting in a CXTPReportControl
Posted By: Francisco
Subject: Sorting in a CXTPReportControl
Date Posted: 31 July 2008 at 1:55pm
Hi!
Im using the CXTPReportControl class to show a list or records with information. I set up the the column styke with:
report->GetPaintManager()->SetColumnStyle(xtpReportColumnOffice2007);
The thing is taht when indicate that a column is giong to be sorted(report->GetColumns()->SetSortColumn(c, TRUE);) the background of that column turns to white. I tried using the paint Manager to paint again the entire report but doesn't seem to work.
If don't set the sorting value of taht column, everything is fine.
Any ideas??

Thkns



Replies:
Posted By: Oleg
Date Posted: 01 August 2008 at 2:22am
Hi,
 
if you don't need it set
rpt->GetPaintManager()->m_bShadeSortColumn = FALSE


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net