How to show tooltips only for grid headers and cells that have ellipsis

Posted by: gupta.prakul on 17 January 2018, 4:31 pm EST

    • Post Options:
    • Link

    Posted 17 January 2018, 4:31 pm EST

    Hi,

    What’s the best way to show tooltips on headers and cells that have ellipsis.

    Does wijmo grid provides any property to achieve this?

    Please find attached sample project. I need to get tooltips where ever ellipsis is applied to cell text.

    FlexGrid_toolTip.zip

  • Posted 17 January 2018, 8:31 pm EST

    Hi Prakul,

    For this, you need you check the target cell type with clientWidth and scrollWidth to detect if the text is wrapped in cell or not.

    Please refer to the following sample for the same. You need to change cellType to ColumnHeader for mousemove event.

    https://gccontent.blob.core.windows.net/gccontent/blogs/legacy/wijmo/2017/04/FlexGrid_toolTip_truncatedText.zip

    ~Manish

Need extra support?

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

Learn More

Forum Channels