Print Page | Close Window

Display Row Number in Report Control v10.42

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=12085
Printed Date: 29 September 2024 at 11:27pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Display Row Number in Report Control v10.42
Posted By: franji1
Subject: Display Row Number in Report Control v10.42
Date Posted: 05 September 2008 at 10:43am
Is there a mechanism for displaying the row number in the first column of each row as part of the GUI, similar to the Header?  Or will I have to add items to my record as the first column containing the row number?
 
We have XTP 10.42 Toolkit Pro using the Report Control.



Replies:
Posted By: franji1
Date Posted: 23 September 2008 at 9:57am
I guess the answer is "no"


Posted By: mgampi
Date Posted: 23 September 2008 at 10:01am
Just a suggestion:

Create your own CXTPReportRecordItem derived class and draw it like a header column.
For each record at the first column add such an item type...


-------------
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: franji1
Date Posted: 23 September 2008 at 10:28am
Yes, that's what I was thinking of doing.  It won't be hard, but I was hoping it was already done.
 
I've derived from the CXTPReportControl class with a more specific class with some more configurable intelligence relevant to our application, and so making the row number column "optional" for different instances of the report control is gonna be a little more work than just implementing a one-time instance.



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