Check Box in Column Header |
Post Reply |
Author | |
mahi1217
Newbie Joined: 01 May 2009 Location: United States Status: Offline Points: 8 |
Post Options
Thanks(0)
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 ) . |
|
mdoubson
Senior Member Joined: 17 November 2008 Status: Offline Points: 1705 |
Post Options
Thanks(0)
|
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
|
|
mahi1217
Newbie Joined: 01 May 2009 Location: United States Status: Offline Points: 8 |
Post Options
Thanks(0)
|
Thank you very much the reply . I will try that .
|
|
mgampi
Senior Member Joined: 14 July 2003 Status: Offline Points: 1201 |
Post Options
Thanks(0)
|
Hello!
Have you ever solved this? How? TIA |
|
Martin Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0 Platform: Windows 10 v 22H2 (64bit) Language: VC++ 2022 |
|
mahi1217
Newbie Joined: 01 May 2009 Location: United States Status: Offline Points: 8 |
Post Options
Thanks(0)
|
Hello ,
Our requirements changed later and I didn't had to implement this . Thanks , Mahender
|
|
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 |