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

How to customize ToolTip with RadToolTipManager

3 Answers 21 Views
PivotGrid
This is a migrated thread and some comments may be shown as answers.
Dave
Top achievements
Rank 1
Dave asked on 19 Oct 2016, 07:11 PM

I would like to customize the cell tooltip using RadTooltipManager. Is there an example somewhere? I'm using VB.NET with a SQL data source. The value I want in the tooltip is a separate value from what is displayed in the cell.

3 Answers, 1 is accepted

Sort by
0
Konstantin Dikov
Telerik team
answered on 24 Oct 2016, 12:43 PM
Hi Dave,

The following online demo demonstrates (which is down at the moment, but we are working on resolving the problem, so it should be live shortly) how to display a ToolTip on hovering over the cells of the RadPivotGrid, but what content will be rendered in the toolitp depends entirely on the developer:
In the demo you will find out how to get reference to the column, row and cell values, which you can use to retrieve the additional data.
 

Best Regards,
Konstantin Dikov
Telerik by Progress
Check out the new UI for ASP.NET Core, the most complete UI suite for ASP.NET Core development on the market, with 60+ tried-and-tested widgets, based on Kendo UI.
0
Dave
Top achievements
Rank 1
answered on 02 Nov 2016, 04:24 PM

Thanks Konstantin...can you help me with my specific example?

In my pivot grid, I'm showing values for an adjustment that was made to a value based on an equation. I have that equation stored as a character field in my database ex. "((0.8810-0.8620)/0.8620)*0.6"... I would like to show this equation in the tooltip for the value in the pivot grid. Can you provide me an example of how to accomplish this? Can it be done in the onCellDataBound sub in code-behind?

0
Konstantin Dikov
Telerik team
answered on 07 Nov 2016, 01:07 PM
Hello Dave,

The RadPivotGrid creates reports and the cell values could not be matched to a particular value in a flat model. Nevertheless, you can take a look at the following online demo for customizing the appearance, where you will find how to get reference to the cells within the OnCellDataBound event (where you can set the ToolTip property of the cell):
Hope this helps.


Regards,
Konstantin Dikov
Telerik by Progress
Check out the new UI for ASP.NET Core, the most complete UI suite for ASP.NET Core development on the market, with 60+ tried-and-tested widgets, based on Kendo UI.
Tags
PivotGrid
Asked by
Dave
Top achievements
Rank 1
Answers by
Konstantin Dikov
Telerik team
Dave
Top achievements
Rank 1
Share this question
or