Print Page | Close Window

[SOLVED] v15.1.1 GroupRow creation

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=18733
Printed Date: 16 May 2024 at 12:31am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: [SOLVED] v15.1.1 GroupRow creation
Posted By: xcentric
Subject: [SOLVED] v15.1.1 GroupRow creation
Date Posted: 26 July 2011 at 9:58pm
Starting from 15.1.1 Report Control does not create Group rows through the special method

virtual CXTPReportGroupRow* CreateGroupRow()

but creates it directly via

new CXTPReportGroupRow_Batch()


As result there is no way to override the GroupRow virtual methods.





Replies:
Posted By: Marco1
Date Posted: 27 July 2011 at 6:20am
You are right! With 15.1.1 I encountered exactly the same problem. I needed my own CXTPReportGroupRow for special tooltip handling.

Currently with 15.1.1 I didn't find a workaround and therefore disabled tooltips.



-------------
Product: XTP 18.3.0 on VS 2017
Platform: VS 2017 / Windows 10 (64bit)


Posted By: xcentric
Date Posted: 27 July 2011 at 9:26am
The same story with virtual CXTPReportRow* CreateRow()
15.1.1 creates rows directly through new CXTPReportRow_Batch();



Posted By: ABuenger
Date Posted: 27 July 2011 at 11:07am
Hi,

this has already been reported and fixed for 15.1.2.

Andre



-------------
Codejock support


Posted By: Marco1
Date Posted: 27 July 2011 at 12:24pm
Andre, is it possible (for customers) to get 15.1.2 beta ReportControl sources which have fixed the bugs - or is 15.1.2 just on the way to be released shortly?

Thanx, Marco



-------------
Product: XTP 18.3.0 on VS 2017
Platform: VS 2017 / Windows 10 (64bit)


Posted By: ABuenger
Date Posted: 28 July 2011 at 12:47pm
You can modify the following lines of XTPReportSection.cpp:

Line 167: CXTPReportRow *pRow = m_pControl->CreateRow(); // new CXTPReportRow_Batch();
Line 212: CXTPReportGroupRow *pGroup = m_pControl->CreateGroupRow(); // new CXTPReportGroupRow_Batch();
Line 546: CXTPReportRow *pRow = m_pControl->CreateRow(); // new CXTPReportRow_Batch();



-------------
Codejock support


Posted By: Marco1
Date Posted: 28 July 2011 at 3:51pm
Thanx, Andre. Meanwhile I did something similar myself.
But actually I had http://forum.codejock.com/forum_posts.asp?TID=18696&PID=65447&title=fixed-v1511-grouped-columns-indentation#65447 - this topic on my mind while asking for the fixed sources, cause this is an issue I don't want to "reinvent"...


-------------
Product: XTP 18.3.0 on VS 2017
Platform: VS 2017 / Windows 10 (64bit)


Posted By: Marco1
Date Posted: 03 August 2011 at 11:07am
Fixed in 15.1.2
Please set this topic to [SOLVED]



-------------
Product: XTP 18.3.0 on VS 2017
Platform: VS 2017 / Windows 10 (64bit)



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