Print Page | Close Window

GroupBy Question

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=14389
Printed Date: 26 April 2024 at 5:08pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: GroupBy Question
Posted By: mahi1217
Subject: GroupBy Question
Date Posted: 26 May 2009 at 4:07pm

When i do GroupBy by any column , i get something like this

 
 
In the above Visual we are grouping by " From " column ....
 
Is there any way to hide " From : "  in the area i circled out ??? ( i dont want to display Column name and the following Colon )
 



Replies:
Posted By: MGebler
Date Posted: 28 May 2009 at 7:13am
You have to override the 'GetGroupCAption' method of your CXTPReportRecordItem derived class.
For example:
 
class MyReportRecordItemText
: public CXTPReportRecordItemText
{
    // ...
    virtual CString GetGroupCaption(CXTPReportColumn* pColumn) 
    {
        return GetValue();
    }
};
 
I hope this will help you...


Posted By: mahi1217
Date Posted: 28 May 2009 at 11:31am
Thank you very much .. This Helped ....



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