Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
210
Disable tooltip text for one ultragrid column
posted

Hi, is it posible to disable the tooltip text for only one column in the ultragrid control? I found how to do it to the entire grid but not for a single column, please advise.
Thanks

  • 53790
    posted

    I have investigated your issue and, I have asked our engineering staff to examine this further.  To ensure that it will receive attention, I have logged this behavior in our internal tracking system with a Development ID of 68551.  The next step will be for a developer to review my investigation and confirm my findings or to offer a fix, or other resolution. 

    Please fill free to ask me if you have other questions

  • 53790
    posted

    Hi,

     

    If you want to show tooltip text for selected columns, I suggest you to disable the tooltip text of UltraWinGrid. You can do this via disigner or with this piece of code:

    ultraGrid1.DisplayLayout.Override.TipStyleCell =

     

    TipStyle.Hide;

     

    then  write this small piece of code in your applications:

     

    1.       Get in your application:  ultraToolTipManager;

    2.       Get the event “MouseEnterElement”  of UltraWinGrid

    3.       Add the code below:

    private void ultraGrid1_MouseEnterElement(object sender, Infragistics.Win.UIElementEventArgs e)

    {

    if (e.Element is CellUIElement && ((CellUIElement)e.Element).Cell.Column.Key == "Type your column key")

    {

    ultraToolTipManager1.ToolTipTitle = ((CellUIElement)e.Element).Cell.Text;

    ultraToolTipManager1.ShowToolTip(ultraGrid1);

    }

    }

     

     

    Sincerely

    Georgi

    Developer Support Engineer

    Infragistics, Inc.

    www.infragistics.com/support