hide only row

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
josecnp1
User
Posts: 73

hide only row

Post by josecnp1 »

How can hide a row?
if, for example, the row has a field: id_propiedad = 1
I would like to hide only that row in the list page
I tried this: $("#r1_propiedades").hide(); in Client Scripts/list page/startup script. and works well
The problem is that I use a master/detail page, and the script works in both pages, and only i need that works in only one, in master page.
thanks


mobhar
User
Posts: 11753

Post by mobhar »

Change it to:

<?php $is_master_table = CurrentMasterTable(); ?>
<?php if (@$is_master_table <> NULL) { ?>
$("#r1_propiedades").hide();
<?php } ?>


Post Reply