Hi, is it possible to add an extra action button on a browse form view ?
I'd like to put a delete button nearby the add button
I tried this solution, but it's not working in Nubuilder pro
http://forums.nubuilder.cloud/viewtopic.p ... ion#p12534
Any hint?
Thank you
Ag
Welcome to the nuBuilder Forums!
Join our community by registering and logging in.
As a member, you'll get access to exclusive forums, resources, and content available only to registered users.
Join our community by registering and logging in.
As a member, you'll get access to exclusive forums, resources, and content available only to registered users.
add an action button on a browse screen
-
- Posts: 503
- Joined: Thu May 24, 2012 2:08 am
- Location: Milan, Italy
- Contact:
Re: add an action button on a browse screen
arengo,
that solution is made for nuBuilder v.2.
For Browse screen try this:
Have a look at this function.
Max.
that solution is made for nuBuilder v.2.
For Browse screen try this:
Code: Select all
function nuLoadBrowse() {
/* Append a new Action Button on Browse form */
var space = $( "#nuSpace" ).clone().removeAttr("id");
$( "#nuActionButtonHolder" ).append(space);
var elem = '<input id="execButton" type="button">';
$( "#nuActionButtonHolder" ).append(elem);
$( "#execButton" )
.addClass( "nuButton" )
.attr( "value", "My custom function" )
.click(function() {
// Do something
alert( "Clicked!" );
}
);
}
Max.
-
- Posts: 2
- Joined: Mon Aug 25, 2014 2:21 pm
-
- Posts: 503
- Joined: Thu May 24, 2012 2:08 am
- Location: Milan, Italy
- Contact: