ParamQuery grid support forum

General Category => Help for ParamQuery Pro => Topic started by: gammax500 on November 20, 2015, 02:24:00 am

Title: Display total records in title bar
Post by: gammax500 on November 20, 2015, 02:24:00 am
How do i display the total number of records in the grid title bar?  See screenshots.
Title: Re: Display total records in title bar
Post by: paramvir on November 20, 2015, 02:28:10 pm
How to get count is already answered here:

http://paramquery.com/forum/index.php?topic=606

To display in the toolbar, use toolbar API:

Code: [Select]
items: [
       { type: "<span class='total_logins'></span> total logins" },

and use jQuery to update it from create event (local data) or load event (remote data) & change event ( if dynamically adding rows ).

Code: [Select]
$('.total_logins').text( count );