CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 hide row in gride

Print topic Send  topic

Author Message
kevind
Posted: 11/21/2002, 5:15 PM

I have a query that pulls up a discussion - the first record contains both the question and the first response. In the next record the same question text is repeated but, new responses appear. Records in the query repeat the question until all responses are exhausted.

What I'd like to do is build a grid where I can hide the original question once I have shown it in the first row. Format like this:

question
response1
response2
response3
question2

Is there an easy way to hide the row ( <tr> ) based on a condition. I know I can hide the whole row but, this kills the question too.

HELP.
Tom
Posted: 11/26/2002, 10:12 AM

In CCS I solved that issue by maintaining the previous question in a variable (and updating it with every row retrieved) that held the question. If the previous question variable was equal to the new row question, then I set all of the applicable HIDEfield to true. If was not equal, I set the HIDEfield to false. Look at the generated code for the grid to see CC naming convention.

   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.