Completed
Last Updated: 27 Apr 2021 10:32 by ADMIN
yao
Created on: 10 Nov 2019 02:00
Type: Feature Request
0
How to select cells in the KendoReact Grid, Not row selection
How to select  cells in the KendoReact Grid, Not row selection
1 comment
ADMIN
Stefan
Posted on: 11 Nov 2019 10:38

Hello,

This can be achieved using a cellRender to attach a click event on each cell that will add the selection class on click:

https://www.telerik.com/kendo-react-ui/components/grid/api/GridProps/#toc-cellrender

This is an example:

https://stackblitz.com/edit/react-fvfsbm?file=app/main.jsx

You can also extend the example, to add specific key combinations like shift or ctrl press to extend the selection logic if needed.

Regards,
Stefan
Progress Telerik

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items