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

Define custom keyboard shortcuts in spreadsheet wrapper

3 Answers 64 Views
Wrappers for React
This is a migrated thread and some comments may be shown as answers.
Dhruven
Top achievements
Rank 1
Veteran
Dhruven asked on 09 Jan 2020, 06:40 PM

HI,

I am using spreadsheet wrapper and I want to define few of my own custom keyboard shortcuts like 'Shift+c' should do something for spreadsheet component. 

Is there a way that I can do it programmatically or in any other way? 

 

Thank you.

3 Answers, 1 is accepted

Sort by
0
Stefan
Telerik team
answered on 10 Jan 2020, 06:49 AM

Hello, Dhruven,

This can be achieved by attaching an event listener to the Spreadsheet element.

I made an example showcasing a possible approach:

https://stackblitz.com/edit/kendo-react-spreadsheet-3m23st?file=app/main.js

I hope this is helpful.

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
0
Dhruven
Top achievements
Rank 1
Veteran
answered on 29 Feb 2020, 04:35 AM

Hey Stefan,

Thank you for the last reply, it helped me a lot. 

 

I have another question, it is about images in the spreadsheet. 

When I have few images on a spreadsheet, on click of those images I want to get info or range ref of the topLeft cell the image is attached to.

Is it possible to get it? 

0
Stefan
Telerik team
answered on 03 Mar 2020, 07:51 AM

Hello, Dhruven,

I have provided an answer to the same question posted here:

https://www.telerik.com/forums/spreadsheet-with-images

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
Tags
Wrappers for React
Asked by
Dhruven
Top achievements
Rank 1
Veteran
Answers by
Stefan
Telerik team
Dhruven
Top achievements
Rank 1
Veteran
Share this question
or