Author Topic: Pager Refresh Icon  (Read 2076 times)

DotNetRocks

  • Pro Ultimate
  • Newbie
  • *
  • Posts: 7
    • View Profile
Pager Refresh Icon
« on: January 20, 2018, 12:30:27 am »
Hello,

I am wanting to remove the separators and refresh icons from the pager. Is there an option to do this or an easy way that I can implement? I have included an image that highlights what I am wanting to remove.

Thanks!

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: Pager Refresh Icon
« Reply #1 on: January 22, 2018, 02:22:54 pm »
Though not an elegant solution, it can be removed with jQuery currently.

Code: [Select]
        grid.on('refresh',function(){
            this.pager().widget().find(".ui-icon-refresh").hide();
        })

I've added it as feature enhancements to make it easy to modify the pager via templates for next version.

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: Pager Refresh Icon
« Reply #2 on: July 24, 2018, 11:03:18 am »
Pager can be easily designed / modified by declaring its layout in pageModel.layout option ( new in v5.2.0 )

Example: https://paramquery.com/pro/demos/paging_layout