[SOLVED] v15.1.1 GroupRow creation |
Post Reply |
Author | |
xcentric
Groupie Joined: 04 September 2008 Status: Offline Points: 41 |
Post Options
Thanks(0)
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. |
|
Marco1
Senior Member Joined: 16 January 2004 Location: Germany Status: Offline Points: 251 |
Post Options
Thanks(0)
|
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. |
|
xcentric
Groupie Joined: 04 September 2008 Status: Offline Points: 41 |
Post Options
Thanks(0)
|
The same story with virtual CXTPReportRow* CreateRow()
15.1.1 creates rows directly through new CXTPReportRow_Batch(); |
|
ABuenger
Newbie Joined: 02 February 2006 Status: Offline Points: 1075 |
Post Options
Thanks(0)
|
Hi,
this has already been reported and fixed for 15.1.2. Andre |
|
Codejock support
|
|
Marco1
Senior Member Joined: 16 January 2004 Location: Germany Status: Offline Points: 251 |
Post Options
Thanks(0)
|
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 |
|
ABuenger
Newbie Joined: 02 February 2006 Status: Offline Points: 1075 |
Post Options
Thanks(0)
|
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
|
|
Marco1
Senior Member Joined: 16 January 2004 Location: Germany Status: Offline Points: 251 |
Post Options
Thanks(0)
|
Thanx, Andre. Meanwhile I did something similar myself.
But actually I had this topic on my mind while asking for the fixed sources, cause this is an issue I don't want to "reinvent"... |
|
Marco1
Senior Member Joined: 16 January 2004 Location: Germany Status: Offline Points: 251 |
Post Options
Thanks(0)
|
Fixed in 15.1.2
Please set this topic to [SOLVED] |
|
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 |