Hi,
Is there a way to limit the number of rows in a subform?
Thanks!
Welcome to the nuBuilder Forums!
Register and log in to access exclusive forums and content available only to registered users.
Register and log in to access exclusive forums and content available only to registered users.
How can I limit subform rows to 10?
-
- Posts: 177
- Joined: Tue Nov 15, 2011 2:24 pm
Re: How can I limit subform rows to 10?
Rui,
This is a big hack but it works.
Steven
This is a big hack but it works.
Code: Select all
var n = '#tttsf'; //-- subform name (make sure you have no other subforms with this name in your application)
var f = n + '0010_nuRow';
var c = String(nuSession.addSubformRow);
var s = c.substr(17,c.length-20) + ";\n\t\t$('" + f + "').css('visibility','hidden');\n}";
eval('nuSession.addSubformRow = function(pthis){' + s);
-
- Posts: 177
- Joined: Tue Nov 15, 2011 2:24 pm