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 For UltraGid Column
posted

Hi, how can i disable the tooltip text for only one column in ultragrid control?

Thanks

Parents
  • 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:

    [code]

    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);

    }

    }

    [\code]

     

     

    Sincerely

    Georgi

    Developer Support Engineer

    Infragistics, Inc.

    www.infragistics.com/support

Reply Children
No Data