How to customize ToolTip with RadToolTipManager

4 posts, 0 answers
  1. Dave
    Dave avatar
    5 posts
    Member since:
    Feb 2014

    Posted 19 Oct Link to this post

    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.

  2. Konstantin Dikov
    Admin
    Konstantin Dikov avatar
    1803 posts

    Posted 24 Oct Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Dave
    Dave avatar
    5 posts
    Member since:
    Feb 2014

    Posted 02 Nov in reply to Konstantin Dikov Link to this post

    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?

  5. Konstantin Dikov
    Admin
    Konstantin Dikov avatar
    1803 posts

    Posted 07 Nov Link to this post

    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.
Back to Top