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

Angular2- Total in Footer on GroupBy using Lazy loading.

1 Answer 113 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Neel
Top achievements
Rank 1
Neel asked on 23 Jul 2018, 12:56 PM
I am using Angular2+ with kendo grid. I want to implement a footer and display the total in the footer. When user group by column, the footer with total should display in the footer of the group by. I referred below-given link for this;

https://www.telerik.com/kendo-angular-ui/components/grid/grouping/grouping/

But, this is not exactly suitable to work with lazy loading, as I have used [scrollable]="'virtual'" for lazy loading.
My user can do the group by himself on any column. So, please give me demo with the dynamic group by, if possible. 

1 Answer, 1 is accepted

Sort by
0
Svet
Telerik team
answered on 25 Jul 2018, 09:15 AM
Hi Neel,

We can display the footer of the groups by setting the showFooter input of the groupable input of the grid to true. Check the following sample plunker demonstrating this approach:
https://plnkr.co/edit/zOl2Yn03EBmNDVVCWj53?p=preview

Also, note, that the kendoGridGroupBinding directive can be used only with pre-loaded data as noticed in the following article:
https://www.telerik.com/kendo-angular-ui/components/grid/scroll-modes/#toc-using-virtualization-with-grouping

I hope this helps.

Regards,
Svetlin
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
General Discussions
Asked by
Neel
Top achievements
Rank 1
Answers by
Svet
Telerik team
Share this question
or