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
275
ToolTip for grids
posted

Hi, I have one query regarding the adding tooltipmanager to ultragrid celltext instead of existing tooltip., the default tooltip appears in grid ,only when the cell text is completly not visible. Is it possible to make the tooltip manager's behaviour also same as that of the existing Typstyle?.Because when add tooltip manager it is appearing for each and every cell even it is completely visible to read,and would like to know is there anyway we can restrict the width of the tooltip when the celltext is too long so that the text will wrap itself?

Parents
No Data
Reply
  • 23930
    Offline posted

    Hi Charudatta,

     

    Thank you for posting in our forums.

     

    What you could do in your case is to get the cell text and the cell size and then measure whether or not the text fits the cell size. If it does - don’t show the tooltip, if it does – show it.

     

    I have attached a sample which demonstrates this suggestion.

     

    Please let me know if you have any additional questions.

    WTTM_NoTooltipOnFullyVisibleText.zip
Children