Ticket T728258
Visible to All Users

Add ToolTip to GridView Cell at Runtime

created 6 years ago (modified 6 years ago)

Hello,

I would like to know how I could add a tooltip to a GridView cell at runtime from code. When hovered over, I need certain cells in a GridView to display some information which can only be generated at runtime. I should mention that the gridView uses as source a DataTable that is also generated at runtime.

Thanks!

Answers approved by DevExpress Support

created 6 years ago (modified 8 months ago)

Hello Alex,

To accomplish this task, I suggest you use our ToolTipController component. In this case, handle the ToolTipController.GetActiveObjectInfo event to display tooltips for grid cells as demonstrated in the following GitHub example: How to display tooltips for grid cells if cell content is completely visible.

Please try it and let us know your results.

    Comments (2)

      This works, thank you!

      DevExpress Support Team 6 years ago

        You are always welcome, Alex!

        Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

        Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.