![]() |
Sorting in a CXTPReportControl |
Post Reply ![]() |
Author | |
Francisco ![]() Newbie ![]() Joined: 31 July 2008 Status: Offline Points: 1 |
![]() ![]() ![]() ![]() ![]() 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 |
|
![]() |
|
Oleg ![]() Senior Member ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Hi,
if you don't need it set
rpt->GetPaintManager()->m_bShadeSortColumn = FALSE
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
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 |