3 Answers, 1 is accepted
0
Hello Salim,
No, the Kendo UI Grid currently only supports row selection.
https://www.telerik.com/kendo-angular-ui/components/grid/selection/
A possible workaround would be to not use the built in selection functionality and attach a handler to the cellClick event of the Grid. In the event handler you could add/remove a CSS class dynamically to simulate column selection. Here is an example that demonstrates this in action. You could use it as a base and modify further if needed:
https://plnkr.co/edit/oVO5WMU5bIUldncmiboA?p=preview
Regards,
Dimiter Madjarov
Progress Telerik
No, the Kendo UI Grid currently only supports row selection.
https://www.telerik.com/kendo-angular-ui/components/grid/selection/
A possible workaround would be to not use the built in selection functionality and attach a handler to the cellClick event of the Grid. In the event handler you could add/remove a CSS class dynamically to simulate column selection. Here is an example that demonstrates this in action. You could use it as a base and modify further if needed:
https://plnkr.co/edit/oVO5WMU5bIUldncmiboA?p=preview
Regards,
Dimiter Madjarov
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.
0

Salim
Top achievements
Rank 1
answered on 19 Jul 2018, 07:06 AM
Do
we have an event on Header cell click ?
0
Hello Salim,
The cellClick event is fired when clicking on dataItem cells only. Regarding the header, you could specify a header template
https://www.telerik.com/kendo-angular-ui/components/grid/columns/templates/#toc-header-template
and include an element with a click handler attached, inside the template.
Regards,
Dimiter Madjarov
Progress Telerik
The cellClick event is fired when clicking on dataItem cells only. Regarding the header, you could specify a header template
https://www.telerik.com/kendo-angular-ui/components/grid/columns/templates/#toc-header-template
and include an element with a click handler attached, inside the template.
Regards,
Dimiter Madjarov
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.