KendoReact Grid custom cell events

1 Answer 908 Views
Grid Wrappers for React
Andrei
Top achievements
Rank 1
Iron
Iron
Iron
Andrei asked on 06 Dec 2021, 04:01 PM
Hello, im using kendo react grid component with custom cells, i have onRowDoubleClick event attached to the grid and i need to add selection logic to this grid, when i attach selectionChange event on the custom cell via onClick

onRowDoubleClick no longer works, what should i do to have a grid with working onRowDoubleClick and onSelectionChange events on custom cells?

1 Answer, 1 is accepted

Sort by
0
Konstantin Dikov
Telerik team
answered on 07 Dec 2021, 03:22 PM

Hello Andrei,

Could you please try to wrap the "selectionChange" in a setTimeout function and see if that will make any difference? In the following example, using the setTimeout seems to resolve the issue:

Please let me know if that resolves the issue on your side too.

 

Regards,
Konstantin Dikov
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Andrei
Top achievements
Rank 1
Iron
Iron
Iron
commented on 08 Dec 2021, 02:25 PM

it works, ty
Tags
Grid Wrappers for React
Asked by
Andrei
Top achievements
Rank 1
Iron
Iron
Iron
Answers by
Konstantin Dikov
Telerik team
Share this question
or