CodeCharge Studio
search Register Login  

Web Reports

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

YesSoftware Forums -> CodeCharge Studio -> PHP

 Hiding Grid Columns (links)

Print topic Send  topic

Author Message
AndreasB

Posts: 9
Posted: 03/29/2004, 4:36 AM

Hello,

i would like to hide a specific link in a grid form whenever a certain field is set to a certain value:

regular list with 3 columns:

Name Status Kick
-----------------------------------------------
Andreas not kicked kick!
Dave kicked
Aaron not kicked kick!

linke in this example, i would like the "kick!" link to be invisible if the status of the user is already "kicked".

Is this possible w/CCS??

Thanks in Advance,

Andreas Belitz
View profile  Send private message
AndreasB

Posts: 9
Posted: 03/29/2004, 4:55 AM

btw: Forgot to tell: i use PHP4 w/Templates
View profile  Send private message
AndreasB

Posts: 9
Posted: 03/29/2004, 5:11 AM

Got it working myself... if anyone is interested:

I used the following commands in the BeforeShow Event of the Link itself:

  
    global $myform;  
    if ($myform;->ds->kicked_field->GetValue() == "kicked")  
	{  
		$myform->kick_link->SetText("");  
	}  
View profile  Send private message

Add new topic Subscribe to topic   


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.