HOWTO: CXTPReportColumnDisplaySettings
Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Report Control
Forum Description: Topics Related to Codejock Report Control
URL: http://forum.codejock.com/forum_posts.asp?TID=19692
Printed Date: 26 April 2024 at 5:21am Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com
Topic: HOWTO: CXTPReportColumnDisplaySettings
Posted By: mgampi
Subject: HOWTO: CXTPReportColumnDisplaySettings
Date Posted: 24 April 2012 at 6:03pm
Hi;
I'm just trying to use CXTPReportColumnDisplaySettings but I'm unable to get the desired results. Setting
Column->GetDisplayOptions()->Column()->SetShowIcon(TRUE); Column->GetDisplayOptions()->Column()->SetShowText(FALSE); | still shows the text part of the column caption. But I only want to show the plain icon alone. Is this not fully implemented yet? If so, when will the implementation be completed?
------------- Martin
Product: Xtreme Toolkit v 19.0.0, new Projects v 19.1.0 Platform: Windows 10 v 1909 (64bit) Language: VC++ 2017
|
Replies:
Posted By: mgampi
Date Posted: 05 March 2018 at 5:11pm
Hello;
I'm using this part of code to set up the visibility of icons and text in "GroupBy" columns inside the GroupBy control when initializing the report control instance:
Column->GetDisplayOptions()->GroupBy()->SetShowIcon(FALSE); Column->GetDisplayOptions()->GroupBy()->SetShowText(TRUE); Column->GetDisplayOptions()->Column()->SetShowIcon(TRUE); Column->GetDisplayOptions()->Column()->SetShowText(FALSE);
|
But this has no effect, because the control uses CXTPReportPaintManager::DrawColumn() to draw the content of the column. Inside this methode I can see that only pColumn->GetDisplayOptions()->Column()->IsShowText() is used. Therefore I cannot get the effect I need. In regular columns I only want an icon to be shown, but in GroupBy columns of course the text should be shown. This is definitely not possible in v18.3 but as I remember it worked in 15.3.1? or later!
------------- Martin
Product: Xtreme Toolkit v 19.0.0, new Projects v 19.1.0 Platform: Windows 10 v 1909 (64bit) Language: VC++ 2017
|
Posted By: mgampi
Date Posted: 07 March 2018 at 6:35am
Any comment from CJ?
------------- Martin
Product: Xtreme Toolkit v 19.0.0, new Projects v 19.1.0 Platform: Windows 10 v 1909 (64bit) Language: VC++ 2017
|
Posted By: olebed
Date Posted: 03 April 2018 at 6:43am
Hello Martin,
I have found similar question from you in 2012 year for v15.3.1 and joined these topics. Looks like this feature haven't been finished. As you noticed pColumn->GetDisplayOptions() used only in one place in method CXTPReportPaintManager::DrawColumn() and uses only ->Column()->IsShowText() part.
I will try to finish this feature. Thank you for bringing this to our attention.
Regards, Oleksandr Lebed
|
Posted By: mgampi
Date Posted: 03 April 2018 at 7:04am
Great!
As you have recognized, I'm waiting for this feature since several years...
------------- Martin
Product: Xtreme Toolkit v 19.0.0, new Projects v 19.1.0 Platform: Windows 10 v 1909 (64bit) Language: VC++ 2017
|
Posted By: mgampi
Date Posted: 23 July 2020 at 7:38am
Is this implemented in v19.2?
------------- Martin
Product: Xtreme Toolkit v 19.0.0, new Projects v 19.1.0 Platform: Windows 10 v 1909 (64bit) Language: VC++ 2017
|
|