Blazor Pager Component customization

Hi,

Is creating a custom template the only way to:

  • Remove the NumericItemsCount? Because when set to 0, an exception is thrown.
  • Customize the "pager message"? Because I see only the ShowPagerMessage="true/false" option. Is "x of y pages" hardcoded?
  • Customize the "Items per page" text? Because I don't see how it could be customized without creating a template
  • Hide the "go to the first page" and "go to last page" buttons?

Thanks




3 Replies 1 reply marked as answer

HO horacioj August 9, 2022 06:53 PM UTC

This would mean, I have to create everything "by hand" 😱? I'm not sure how...  The example at https://blazor.syncfusion.com/documentation/pager/template is missing some parts, and it also looks like a lot of work...



HO horacioj August 9, 2022 07:51 PM UTC

Solved (good enough) with custom CSS on "::deep .e-pager", "::deep .e-pager .e-numericitem", ":deep .e-pager .e-pagerconstant", etc.


Marked as answer

VN Vignesh Natarajan Syncfusion Team August 10, 2022 05:40 AM UTC

Hi Horacioj,


Greetings from Syncfusion support.


We are glad to hear that you have resolved your query on your own.


Please get back to us if you have further queries.


Regards,

Vignesh Natarajan


Loader.
Up arrow icon