Hi,
Is there a way to limit the number of rows in a subform?
Thanks!
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.
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