Hello,
I am using a XamTextEditor with TextWrapping set to Wrap for one field of a XamDataGrid. This XamDataGrid is displayed through a XamDockManager. The problem appears when I want to display a string containing a '-' character in this XamTextEditor.
The text is truncated after the '-' character except if if resize the column enough to display the text on several lines.
In that case, the text is truncated, but not the same way
The first strange thing is that this appears only if my XamDataGrid is docked. If I undock the XamDataGrid, the text is displayed entirely, like this:
The second strange thing is that if I append a space at the end of my string displayed in the XamTextEditor, even if the XamDataGrid is docked, the text is displayed entirely!
Unfortunately, I am not able to reproduce this issue in a basic prototype and my application is too complex to send you all the source code, but I wanted to know if, by any chance, you have already noticed this strange behavior.
Thanks,
Thomas
Hi Thomas,
I'm looking into your question. You didn't mention what product version you are using or what service release. It will be helpful information if you could provide that.
I will get back to you shortly after I have a chance to try to duplicate the behavior.
I am using 10.2 version.
Thanks for the information. Could you look at the Infragistics references that are being used in your application and see what version they are? An easy way is to look at the version property of the references in Visual Studio. (The number will look like 10.2.20102.nnnn.)
It is 10.2.20102.1014
Do you have any new information about this issue?
I have built a sample to try to generate the behavior.
I’m using the following style in my sample to apply the xamTextEditor.
<Style x:Key="textEditorStyle"
TargetType="{x:Type igEditors:XamTextEditor}">
<Setter Property="TextWrapping" Value="Wrap" />
</Style>
I have tried this style in a stand-alone xamDataGrid and then also by putting a grid directly in a contentPane of a TabGroupPane of a SplitPane of a xamDockManager panes group.
My xamDataGrid’s only specified properties are horizontal and vertical alignment set to stretch, although I tested the sample with no properties. And there are no properties set on the fields except for the name and label.
I have tried using values with “-“, as you showed in your image, with and without a space in the last position of the text. Regardless of when I resized the column and seemingly how far I compressed the column width, I was always able to see the entire value.
Could you provide me with more details about your design and how you are implementing the editor for the field?
Could you also describe the specific steps that generate the behavior?
I am seeing this problem as well. It can happen on any character, as far as I can tell.
I'm using v10.3 on Windows 7.
The number of characters presented is not consistent between records.
It does seem to truncate on spaces rather than in the middle of a word.
To see all the data I must force the column to wrap (and sometimes I must force it to wrap more than once to get the data to appear).