![]() |
Report Control Row Hiding |
Post Reply
|
| Author | |
danpetitt
Senior Member
Joined: 17 July 2005 Location: United Kingdom Status: Offline Points: 109 |
Post Options
Thanks(0)
Quote Reply
Topic: Report Control Row HidingPosted: 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.
|
|
![]() |
|
danpetitt
Senior Member
Joined: 17 July 2005 Location: United Kingdom Status: Offline Points: 109 |
Post Options
Thanks(0)
Quote Reply
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. |
|
![]() |
|
sserge
Moderator Group
Joined: 01 December 2004 Status: Offline Points: 1297 |
Post Options
Thanks(0)
Quote Reply
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 |
|
![]() |
|
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 |