It looks like the grid defaults to showing a tool tip if the text in a particular cell gets cut off (the column width is decreased). I thought the tool tip would show the entire cell text, but it is not doing this. Is there a way to make the entire cell text show in the tool tip? I am only seeing what is already visible in the cell itself.
Thanks!
Steve
Hi Steve,
If the tooltip isn't showing the whole text and only shows what is already visible in the cell, then that's clearly a bug and makes the tooltip pretty useless. :)
Sounds like an old bug that was fixed a long time ago. You should get the latest service release.
How to get the latest service release - Infragistics Community
I have requirement to hide the tooltip text for a specific column.
I tried on mouse enter event as below
cellUIElement.Cell.ToolTipText =
string.Empty;
but still showing the tooltip text.
Thanks
The code you have here probably won't do anything. If you check, the ToolTipText is probably already null or empty. That property allows you to set the ToolTipText if you want to, but it has no relation to the automatic tooltips that are displayed by the grid.
I'm pretty sure there's a property to turn off tooltips, but I think it might only be available on the override, on not on a per-column basis.I'm not in the office today (due to snow), so I don't have the grid in front of me to check. But if I am right, then the only way to turn off the ToolTips for one column would be to use a CreationFilter and trap for the AfterCreateChildElements of the element which handles the tooltip. That's probably the CellUIElement, but it might be another element within the cell. Either way, you would have to find the correct element and modify the ToolTipInfo on the element itself.
You might be able to do this in MouseEnterElement rather than a CreationFilter, but I'm not sure if that will work.
The following worked for me on mouse enter event.
if
grid.DisplayLayout.Override.TipStyleCell =
It looks like this will turn off tooltips for the entire grid any time you end a cell that meets these conditions. Don't you also have to set TipStyleCell back to default when you enter another cell? And does that work? I'm thinking that turning on the tooltip after you already entered another cell may be too late to show a tooltip for that cell.