Page 1 of 1

embed browse in form

Posted: Sun May 13, 2018 2:47 pm
by Timo
I'm looking for a possibility to embed a browse form in another (edit) form. The browse form's purpose is to display data and no edit form should be opened when a record is clicked.
Also, no search field or other buttons should be shown. Is this possible?

Re: embed browse in form

Posted: Mon May 14, 2018 6:48 am
by toms
Hi,

Add an object (Type: Run) with Run Method iFrame. This will embed the selected form.

Add this Code to "Custom Code" -> JS of your embedded form:

Code: Select all

$('.nuActionButton').hide();
$('#nuSearchField').hide();
$('#nuActionHolder').hide();
$('#nuBreadcrumbHolder').hide();
$('body').css('height', '200px'); // maybe set the body height to disable the vertical scrollbar.

function nuSelectBrowse(e) {
// do nothing when a record is clicked
}

Re: embed browse in form

Posted: Mon May 14, 2018 10:27 am
by admin
Timo,

I agree with toms,

https://wiki.nubuilder.cloud/ ... #Tab_-_Run

Set Method to iFrame.

To answer your second question, try this...

https://wiki.nubuilder.cloud/ ... oveHolders


Steven

Re: embed browse in form

Posted: Thu May 17, 2018 9:26 am
by Timo
I got it done. Thank you.

Re: embed browse in form

Posted: Thu May 17, 2018 9:36 am
by admin
.