This topic is locked
[SOLVED]

 Start with details table minimized/collapsed in master add/edit/view page

10/21/2013 3:02:32 PM
PHPRunner General questions
C
copper21 author

Hello,
I am wondering if it is possible for the details tables in my master add/edit/view page to start off minimized or collapsed instead of open with the inline add page and fields shown. I have it set up where in the Table Link properties page that the details tables are displayed in the list, view, add, and edit page.
Thanks!
Brian

C
cgphp 10/21/2013

In the "Javascript onload" event of your add/edit/view master pages, enter the following code:

$("img[id^='dpMinus']").click();
C
copper21 author 10/21/2013



In the "Javascript onload" event of your add/edit/view master pages, enter the following code:

$("img[id^='dpMinus']").click();



Perfect, thanks!