This topic is locked

Hide Details if no record found : Edit page

11/24/2015 10:47:04 AM
PHPRunner General questions
R
rockrockers23 author

I tried to apply the solution found here: Master Detail question
It uses $xt to hide the display of details table with no records.

$xt->assign("displayDetailTable_bank_account",false);


Unfortunately, it didn't work for me. (Detail table name: bank_account)
Checking 'Hide details if no record exist' applies only to List page. How would I do this on Edit page?
I can hide it manually on JS but I wanted it made dynamically.

R
rockrockers23 author 12/12/2015

hopefully somebody can tell how to to this on Edit page.
More Details:

Obviously there will be no details to show if no records found but my main concern is that the Title Name (Usually the name of the Database table) still display/show.

How will I hide/remove the table name display if there are no records found on Edit page (Details section)?