CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 (RESOLVE) HIDE GRID

Print topic Send  topic

Author Message
popularanky

Posts: 53
Posted: 01/19/2011, 6:19 AM

I have three search parameter (s_employee_id, date1, date2) and I want to hide a Grid (grid1), so that it can only display when a search is performed.
_________________
EKERE UBONG UBONG
IT Officer
CognitiveDrive
View profile  Send private message
ckroon

Posts: 869
Posted: 01/19/2011, 8:37 AM

On the Grids Before Show Event

if (CCGetFromGet("s_employee_id",-1) == -1)  
 $Component->Visible = False;  
 else  
 $Component->Visible = True;  
  

_________________
Walter Kempees...you are dearly missed.
View profile  Send private message
popularanky

Posts: 53
Posted: 01/20/2011, 1:05 AM

Thanks. It work welll.
_________________
EKERE UBONG UBONG
IT Officer
CognitiveDrive
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.

PHP Reports

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

Home   |    Search   |    Members   |    Register   |    Login


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