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

Tooltip On Mouse Hover

1 Answer 322 Views
Spreadsheet
This is a migrated thread and some comments may be shown as answers.
G.K. Raju
Top achievements
Rank 1
Iron
G.K. Raju asked on 30 Mar 2017, 07:13 AM

Hi

Is it possible to add tool tip on mouse hover to spreadsheet cell. 

And Also Is it possible to use Cell Template in spreadsheet Cell.

Thanks

1 Answer, 1 is accepted

Sort by
0
Tanya
Telerik team
answered on 04 Apr 2017, 06:43 AM
Hi,

Yes, it is possible to add a tooltip on the cells. I am attaching an example which shows how you can achieve the desired behavior. However, this demo uses the MouseMove event to track the position of the mouse and visualize the tooltip and, because this event is triggered pretty often, this could decrease the performance of the control. You could optimize the scenario using a timer to delay the showing of the tooltip. This timer can check how often the UpdateUI method is invoked.

When it comes to cell templates, RadSpreadsheet is designed to visualize spreadsheet documents and it is not intended to allow changing the template of the cell. Depending on your requirements, however, you can implement a custom CellEditUILayer and change the editor of the cells. There is an example on how to achieve that in this forum post.

Hope this is helpful.

Regards,
Tanya
Telerik by Progress
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which you to write beautiful native mobile apps using a single shared C# codebase.
Tags
Spreadsheet
Asked by
G.K. Raju
Top achievements
Rank 1
Iron
Answers by
Tanya
Telerik team
Share this question
or