Print Page | Close Window

Report Control Row Hiding

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=4644
Printed Date: 11 November 2025 at 12:23am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Report Control Row Hiding
Posted By: danpetitt
Subject: Report Control Row Hiding
Date Posted: 23 July 2006 at 7:39am
I was looking at the report control and wondered how one would hide a specific row.
 
I basically want a bunch of items that could be errors, warnings, info or something else.
 
I want to have a button toggle that shows hides a row according to its 'status'.
 
Is it possible/easy with the report control, I cant really use "SetFilterText" as the word warning might appear legitimately in one of the other columns.
 
Maybe I need to store them in a an array and repopulate the list each time? Shame if thats so.
 
Please help, thanks.



Replies:
Posted By: danpetitt
Date Posted: 23 July 2006 at 2:33pm

I suppose I could put some specific text that only I know like ":MYWARNING:" in a hidden column and use that. That could work, but what if I want errors and warnings ... hmm maybe not a good use of the report control after all.



Posted By: sserge
Date Posted: 30 July 2006 at 6:32pm
Set ReportRecord::SetVisible(FALSE) for those records which you don't like to show and repopulate a control with ReportControl::Populate.

Don't be afraid of calling Populate because even with mentioned filtering functionality it is repopulated each time when filter edit box changes.

--
WBR,
Serge



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