Hi,
I have a win form grid, when I moves mouse over the column, the row gets highlighted. In some cases, when the display text is very long (over 400 in my case), mouse over will cause the text get jumbled up (a word in the line below gets moved up and overlaps with the line above).
Once the text gets jumbled up, move the mouse away won't correct it. If scrolling up/down causes the column to re-draw, it will display properly, but as soon as you mouse over, it gets jumbled up again.
If I re-size the column width, it re-draws and displays properly.
I believe the jumble-up happens under some specific condition: when I re-size the column to a certain position, mouse over *always* cause the text to jumble up.
Please see the attached screen shot.
I noticed that the column here has both bold and normal text inside the cell. So it looks like you must be using a style of FormattedText or a FormattedTextEditor on this column. Is that correct?
If so, I beleive this is a known bug in the FormattedTextEditor that was fixed.
What version of the controls are you using? You probably just need to get the latest service release.
How to get the latest service release - Infragistics Community
Hi Mike,
Thank you for the reply.
Yes I am using the FormattedText style on that column. The current version of the grid is: Infragistics2.Win.UltraWinGrid.v10.3
Is that the version that has the known bug?
Thanks,
Ying
The version is: 10.3.20103.2041
The text in that column is html formatted, something like this:
===========
<font><b>Ampicillin</b></font> - 8&edsp;mg&edsp;IV;&edsp;Hourly&edsp;At&edsp;Next&edsp;Visit<br/>Once&edsp;you’ve&edsp;uploaded&edsp;your&edsp;picture,&edsp;please&edsp;take&edsp;the&edsp;time&edsp;to&edsp;update&edsp;your&edsp;profile.&edsp;There’s&edsp;an&edsp;“About&edsp;Me”&edsp;section&edsp;where&edsp;you&edsp;can&edsp;insert&edsp;information&edsp;about&edsp;your&edsp;current&edsp;role&edsp;and&edsp;experience.&edsp;&edsp;In&edsp;the&edsp;“Ask&edsp;Me&edsp;About”&edsp;section,&edsp;you&edsp;can&edsp;provide&edsp;information&edsp;that&edsp;will&edsp;help&edsp;your&edsp;colleagues&edsp;find&edsp;you&edsp;through&edsp;specific&edsp;key&edsp;words.&edsp;There&edsp;are&edsp;also&edsp;fields
==================
Is there anything special in the html formatting that can cause the problem? I was wondering if there is any work around.
The grid control I am using seems to have the latest service release already applied.
Hi Ying,
The problem you are having here was a bug in the FormattedTextEditor. There is no workaround - expect to use plain text without any formatting, which is assume is not acceptable in this case.
The latest service release does fix the issue.
However getting updated Infragistics control to all our clients is quite expensive at this time. We'd like to investigate whether there is another workaround that could be done in our code. We'd appreciate any advice/info on how to workaround the bug you fixed.
We use the FormattedEdit style to display html text as shown in my earlier post.