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 -> Español

 GRID sin resultados iniciales

Print topic Send  topic

Author Message
JAC
Posted: 12/07/2005, 5:26 AM

Hola amig@s, aqui seguimos, dandole caña al CCS:

tengo una pregunta: tengo un search con un grid. Como puedo hacer para que incialmente en el grid no muestre ningun resultado, o que estuviera inicialmente invisible? Las 2 opciones me valen y luego al buscar algo que me apareciera el resultado en el grid.

Gracias
lvalverdeb

Posts: 299
Posted: 12/08/2005, 5:21 AM

Jac,

Para ocultar el Grid si no hay datos seleccionados en el formulario de búsqueda:
a) Supongamos que tu formulario de busqueda tiene 2 campos: campo1 y campo2. Al presionar search se generan dos parametros con los mismos nombres.
b) Para ocultar el grid lo puedes hacer así en el evento BeforeShow del grid

  
$Component->Visible = (CCGetFromGet("Campo1","")!=="" && CCGetFromGet("Campo2","") !== "");  


Luis
_________________
lvalverdeb
CR, GMT-6
XAMPP/Ubuntu/CCS3.2/4
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.