Jump to content

can we add this feature to unidbgrid? (PagingToolbar) (Displaying topics 1 - 50 of 6679)


Hayri ASLAN

Recommended Posts

  • 5 weeks later...

While it is possible to use this approach (quick and dirty workaround)...

 

 

UniDBGrid1 -> ClientEvents -> ExtEvents add beforerender:

function beforerender(sender, eOpts)
{   
  if (sender.pagingBar) {    
    sender.pagingBar.hide();    
    sender.addDocked(
         {dock: 'bottom', 
          items: [new Ext.PagingToolbar(
                   {pageSize: sender.store.pageSize,
                    store: sender.store,
                    displayInfo: true,                      
                    emptyMsg: "No records to display"
                   })
                 ]
         });       
  }         
}

post-906-0-91320500-1399285807_thumb.png

Link to comment
Share on other sites

×
×
  • Create New...