CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> PHP

 [resolved - equivalent php code to hide/show a row grid on submit forum]

Print topic Send  topic

Author Message
CodeChargeMVP

Posts: 473
Posted: 09/27/2010, 4:21 AM

there´s a normal search/record grid, on the record grid

depending on the value of a listbox a new row has to be shown

with a new listbox etc..

I´ve been able to do this on javascript, but indeed when the form

is submitted I want than the record form do the same behaviour,


I´ve been checking out the example "A demostration of panel usage for hiding

grid colums" and it´s quite near from I wanna do,but not exactly.


I think than the easy way is getting access to the row table and modifying

<tr style="DISPLAY: none" class="Controls">


So the question is:

¿how do you get access to this property on php?
_________________
Best Regards
Entrepeneur | NT Consultant
View profile  Send private message
raphaelbiz

Posts: 10
Posted: 09/27/2010, 12:10 PM

good monnig...

if that you want...

Add thi on before show event from your grid, search,form or panel (the block red)

if (CCGetFromGet("id") > "0"){
$Component->Visible = true;
}else{
$Component->Visible = false;
}


_________________
linuxell.serveftp.com
View profile  Send private message
CodeChargeMVP

Posts: 473
Posted: 09/27/2010, 12:55 PM

Good night here,

that code only hide/show a component,

what I want to hide is a row from a grid.

Quote raphaelbiz:
good monnig...

if that you want...

Add thi on before show event from your grid, search,form or panel (the block red)

if (CCGetFromGet("id") > "0"){
$Component->Visible = true;
}else{
$Component->Visible = false;
}



_________________
Best Regards
Entrepeneur | NT Consultant
View profile  Send private message
CodeChargeMVP

Posts: 473
Posted: 10/06/2010, 3:51 AM

Any suggestion please?

Thank you very much in advance.
_________________
Best Regards
Entrepeneur | NT Consultant
View profile  Send private message
CodeChargeMVP

Posts: 473
Posted: 10/06/2010, 9:48 AM

This thread will be helpful:

http://forums.codecharge.com/posts.php?post_id=66400


_________________
Best Regards
Entrepeneur | NT Consultant
View profile  Send private message
CodeChargeMVP

Posts: 473
Posted: 10/07/2010, 2:08 AM

I´ve solve it with javascript on the on load event from the grid.
_________________
Best Regards
Entrepeneur | NT Consultant
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.

MS Access to Web

Convert MS Access to Web.
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.