[PopUp] Spread.TextTipPolicy = TextTipPolicy.Floating : cut with long text !

Posted by: jeremie-baldy on 8 September 2017, 2:47 pm EST

  • Posted 8 September 2017, 2:47 pm EST

    Hi!

    I use v4.0.2026.2005.

    I have a Header with SpanCells, on line number 4 i have a long text, and i use for show popup:

    Spread.TextTipPolicy = TextTipPolicy.Floating;

    But the popup is truncated !

     

    Also I test with :

            void Spread_TextTipFetch(object sender, TextTipFetchEventArgs e)
            {
                if (e.TipText.Length > 150)
                {
                    e.WrapText = true;
                    e.ShowTip = true;
                }
            }

    but  is truncated likewise

     

    Can you help me ?

    thanks

  • Replied 8 September 2017, 2:47 pm EST

    Hello,

    I was not able to replicate the issue at my end, I assigned a long string to the Span cell in the header and even to a cell in the sheet. On hovering the mouse on either of them, complete text is shown in th TextTip, no text is truncated. Please have a look at the attached sample and let me know if I am missing something.

    If you still face the same issue I would request you to provide me with a sample depicting your issue, so that I can debug it further.

    Thanks,

    Manpreet Kaur.


    2011/10/texttip.zip
  • Replied 8 September 2017, 2:47 pm EST

    The screenshoot with my problem:

     

  • Replied 8 September 2017, 2:47 pm EST

    Hi !

    With your example i replicate the issue on my screen !

    http://ompldr.org/vYXN2bw/ExamplePopUpCut.png

    1280x1024 BenQ G700 LCD

    Windows 7 64 pro

     

    with 5.0.2018.2008 and  v4.0.2026.2005

  • Replied 8 September 2017, 2:47 pm EST

    Hello,

    I was able to replicate the issue at my end, it seems to be a bug. I have reported the issue to the development team, the bug number for the same is  #99923538. It would be fixed in the next maintenance release. However a workaround could be to set the width of the box in which the TextTip is displayed in the TextTipFetch event using the TipWidth property. I have modified the sample accordingly, kindly have a look at the same.

    Hope it will help you. Please let me know if you have any queries further.

    Thanks,

    Manpreet Kaur.


    2011/10/texttip-2.zip
  • Replied 8 September 2017, 2:47 pm EST

    Manpreet Kaur

     

    Thanks !!

    Good week end

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels