Print Page | Close Window

Check Box in Column Header

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


Topic: Check Box in Column Header
Posted By: mahi1217
Subject: Check Box in Column Header
Date Posted: 22 January 2010 at 4:32pm
 
In the example report sample application , a static image is used to have the checkbox in the column header  ( becuase it is static image it will be checked all the time ) 
 
Is there any way  to have actual checkbox in the column header so that i can catch the event when it is clicked
(check all the items if it is checked and uncheck when it is unchecked  )
 
I know CXTPReportRecordItem has HasCheckbox() method to support this for items in the reportcontrol cell .. are there any such methods available to support checkboxes in the column header ???
 
I am building a application where i will have a checkbox in the column header , and once i check the chexbox in the header all the items should be checked in the report control ( same with uncheck ) .
 



Replies:
Posted By: mdoubson
Date Posted: 25 January 2010 at 1:48pm

Header is just place holder - e.g. image for plus-minus glyph or image of checkbox glyph. For PlusMinus glyph there is support in XTPReportHeader class. You can derive your class and add similar support for Checkbox glyph click event

 



-------------
Mark Doubson, Ph.D.


Posted By: mahi1217
Date Posted: 24 February 2010 at 8:53pm
Thank you very much the reply . I will try that .


Posted By: mgampi
Date Posted: 22 April 2015 at 10:00am
Hello!
Have you ever solved this?
How?

TIA


-------------
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: mahi1217
Date Posted: 25 April 2015 at 7:37pm
Hello ,

Our requirements changed later and I didn't had to implement this . 

Thanks ,
Mahender



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