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

2 rows of totals at bottom of the grid

3 Answers 386 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Ian
Top achievements
Rank 2
Ian asked on 04 Jul 2013, 10:17 PM
I am displaying  a grid, no paging, which has USD$ and CAD$ in the same column. At the bottom of that column , I need to put the total of the CDN and then on the next total row USD. So, two total rows at the footer of the grid.

@(Html.Kendo().Grid<BankAccount>().Name("MyGrid").Columns(c =>
      {
          c.Bound(p => p.AccountTotal);
      })

How would I have 2 total rows at the bottom of the list of bank account values? (see attached example)





3 Answers, 1 is accepted

Sort by
0
Iliana Dyankova
Telerik team
answered on 08 Jul 2013, 02:21 PM
Hi Ian,

I am afraid having multiple total rows is presently not supported by Kendo UI Grid, however this idea sounds good and we will consider its implementation for future releases. Please excuse us for the inconvenience caused. 

Regards,
Iliana Nikolova
Telerik
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
0
Narendra
Top achievements
Rank 1
answered on 14 Oct 2017, 02:25 AM

hi Iliana Nikolova,

I have the same type of requirement. Is there any solution for this requirement. Please let me know.

Thanks,

Narendra

0
Stefan
Telerik team
answered on 17 Oct 2017, 10:26 AM
Hello, Narendra,

The ClientFooterTemplate can be used in this scenario. Please check our demo example demonstrating this. It will render only one row, but both totals could be shown, similar to how min and max are shown in the demo:

http://demos.telerik.com/aspnet-mvc/grid/aggregates

Regards,
Stefan
Progress Telerik
Try our brand new, jQuery-free Angular 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
Ian
Top achievements
Rank 2
Answers by
Iliana Dyankova
Telerik team
Narendra
Top achievements
Rank 1
Stefan
Telerik team
Share this question
or