View Full Version : PagingToolbar with ProgressBarPager plugin doesn't give the proper initial display

5 Aug 2010, 2:07 AM
I am using PaginToolbar in my project to support the paging with ProgressBarPager plug-in. I am able to get the data and the the counts are displayed fine. The ONLY issue I ahve is when the page is getting loaded, it comes with the initial message as "No Hypervisors found" and then it shows the right value of "Displaying Hypervisors 1-20 of 50".

Ideally I wasn't "Loading... " when the page is loaded and then show the count. Please find below my code.

this.bbar = new Ext.PagingToolbar({
,plugins: new Ext.ux.ProgressBarPager()
,displayMsg: 'Displaying hypervisors {0} - {1} of {2}'
,emptyMsg: "No hypervisors to display"

Please help me out.