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
|
 |
 |
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 |
 |
 |
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
|
 |
 |
CodeChargeMVP
Posts: 473
|
| Posted: 10/06/2010, 3:51 AM |
|
Any suggestion please?
Thank you very much in advance.
_________________
Best Regards
Entrepeneur | NT Consultant
|
 |
 |
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
|
 |
 |
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
|
 |
 |
|