This is a migrated thread and some comments may be shown as answers.

Add Text To Page Footer

1 Answer 127 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Reafidy
Top achievements
Rank 1
Reafidy asked on 06 Aug 2017, 03:14 AM

How can I add the sum of a column to the pageing footer like in this example:

https://s3.amazonaws.com/telerik-media/telerik-videos/controls/grid-bootstrap-fallback.jpg

I would like to replace the text in the picture "56 cars matching your criteria"  with "Total Price: $x.xx"

1 Answer, 1 is accepted

Sort by
0
Accepted
Viktor Tachev
Telerik team
answered on 09 Aug 2017, 02:19 PM
Hello,

In order to customize the text that would be displayed in the pager you can set the messages.display setting of the pager. The pager configuration in the Grid would look similar to the following:


.Pageable(pageable => pageable
    .PageSizes(true)
    .Messages(msg=>msg.Display("{2} items matching criteria"))
    .ButtonCount(5))



Regards,
Viktor Tachev
Progress Telerik
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Grid
Asked by
Reafidy
Top achievements
Rank 1
Answers by
Viktor Tachev
Telerik team
Share this question
or