PDA

View Full Version : [CLOSED] Tooltip to show full value, whenever there are ellipses in Grid Panel



RajivDutt
Feb 07, 2014, 5:48 PM
Hi

Ext.Net has a nice feature in grid, when you reduce the column width, it shows the value with (...) Ellipses.
But the customer wants to see the full value on the mouse over, as a tooltip. Although, I am able to do it with the help of CSS.

Now the issue is, the tooltip should only come when there are ellipses. :)

In the given example, if you reduce the width of Company column you will get to see the ellipses. :)

http://mvc.ext.net/#/GridPanel_ColumnModel/Ajax_Configuration/

Please suggest if it is achievable in Ext.Net?

Thanks,
Rajiv Dutt

Daniil
Feb 08, 2014, 8:04 AM
Hi @RajivDutt,

You can take this example as a base.
http://examples2.ext.net/#/Miscellaneous/ToolTips/GridPanel_Cell_Tooltip/

Then you can use a Tooltip's BeforeShow listener. If return false from a BeforeShow listener, a Tooltip won't appear.