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

Grid ColumnComponent groupable input

1 Answer 65 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
esp
Top achievements
Rank 1
Veteran
esp asked on 12 Feb 2018, 12:06 AM

Hi,

Is there a way to disable grouping for a particular column? The ColumnComponent has inputs for editable, filterable, reorderable, resizable and sortable but not groupable?

Thanks.

1 Answer, 1 is accepted

Sort by
0
Accepted
Dimiter Topalov
Telerik team
answered on 12 Feb 2018, 10:05 AM
Hello,

Currently there is no API for configuring separate columns to be groupable or not, but you can handle the groupChange (or dataStateChange) event, and apply some custom logic for ignoring grouping by certain fields, e.g.:

https://plnkr.co/edit/F2DFMOKib1X2E5KAXFAL?p=preview

Grouping by ProductName is ignored.

I hope this helps, but if you have the time, please support the following feature request in our UserVoice portal:

http://kendoui-feedback.telerik.com/forums/555517-kendo-ui-for-angular-feedback/suggestions/32802817-angular-4-grid-grouping

This will help us estimate the customer demand for such an enhancement, and prioritize accordingly when updating our roadmap. Thank you in advance.

I hope this helps.

Regards,
Dimiter Topalov
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
esp
Top achievements
Rank 1
Veteran
Answers by
Dimiter Topalov
Telerik team
Share this question
or