Row count - solved

Row count - solved

Postby Tinka » Thu Jul 17, 2014 7:22 pm

Hi Nubuilder users,

I made a simple row counter for browse forms,on the Custom Code - Javascript:

Code: Select all
var rows = nuBrowseRows()
function nuLoadBrowse () {
   
$('#nuStatusHolder').append('<div class=\"edittable\" id=\"browsecount\" style=\"top:3px; left:80px; position:absolute;\"><b>Count: ' + rows + ' </b></div>');     
}


This works fine on any browse form.

BR, Tinka
Tinka
 
Posts: 73
Joined: Mon Feb 24, 2014 11:28 pm

Re: Row count - solved

Postby admin » Wed Aug 20, 2014 5:35 pm

Cool
admin
Site Admin
 
Posts: 3406
Joined: Mon Jun 15, 2009 9:53 am
nuBuilder Version: 4.5

Re: Row count - solved

Postby enricoz » Fri Jan 08, 2016 11:49 pm

thank you so much!
enricoz
 
Posts: 2
Joined: Fri Jan 08, 2016 10:16 pm

Re: Row count - solved

Postby admin » Mon Jan 11, 2016 2:41 pm

.
admin
Site Admin
 
Posts: 3406
Joined: Mon Jun 15, 2009 9:53 am
nuBuilder Version: 4.5


Return to Custom Code