Bouboule
Posts: 1
|
| Posted: 10/12/2007, 7:13 AM |
|
Hello,
I have a grid (with a "panel" for every column) called "Children" and I would like to hide all columns that contain only their data default value.
For instance, lets say that there is a "School" column whose data default value is "THS".
To hide this column when ALL the values that it contains are equal to "THS", I try to use the "Hide-Show component" action of the "before show event" of the "School" column's panels:
Panel: Header_School -->Event: BeforeShow -->Add Action --> "Hide-Show component":
Component name: Header_School
Action: Hide
Condition type: Parameter
Compare as: Text
Condition: Equal
Parameter 1 - Name: School
Parameter 1 - Source Type: Control
Parameter 2 - Name: THS
Parameter 2 - Source type: Expression
Panel: Data_School -->Event: BeforeShow -->Add Action --> "Hide-Show component":
Component name: Data_School
Action: Hide
Condition type: Parameter
Compare as: Text
Condition: Equal
Parameter 1 - Name: School
Parameter 1 - Source Type: Control
Parameter 2 - Name: THS
Parameter 2 - Source type: Expression
...But if I do that, the "School" column is hidden when ALL the values in the "School" column are equal to "THS" (which is OK), but if at least one cell of the "School" column contains a value which is NOT equal to "THS", then, for this column, only that cell is visible...
What should I do for the "School" column to be totally visible -with all its rows- as soon as at least one value within this column is not equal to the default value ("THS")?
(i.e. I want ONLY the columns where ALL the values are equal to the default value "THS" to be hidden...)?
If you know how to do that, I thank you in anticipation for your help...
|
 |
 |
|