This topic is locked
[SOLVED]

 Preview detail records ALWAYS

12/3/2009 9:50:01 PM
PHPRunner General questions
W
wfcentral author

Is there a way to make the detail records show up all the time... the only choices in the Table link properties are
Preview detail records in popup

Preview detail records inline

No preview
I need another option that says
Show detail records inline always (no click or hover required)

J
Jane 12/4/2009

Hi,
you can emulate InlinePreview using custom code. Add custom JavaScript code on the Visual Editor tab for this purpose.

Here is a sample:

<script>

setTimeout('$("a[@id^=DetailTable_preview]").each( function() { $(this).click(); });',1000);

</script>


More info here:

http://www.xlinesoft.com/asprunnerpro/docs/how_to_control_inline_add_edit_functionality_from_script.htm

P
Phil_G 12/14/2009

How would this work if I had several details pages and only wanted to display one? I've added the code to one of my pages and at the moment nothing is displayed.

Philippe



Hi,
you can emulate InlinePreview using custom code. Add custom Javascript code on the Visual Editor tab for this purpose.

Here is a sample:

<script>

setTimeout('$("a[@id^=DetailTable_preview]").each( function() { $(this).click(); });',1000);

</script>


More info here:

http://www.xlinesoft...from_script.htm

J
Jane 12/14/2009

Philippe,
Please publish your project on Demo Account and open a ticket at http://support.xlinesoft.com sending a URL to your pages along with instructions on reproducing this error.