Hi All,
For some cases, i set the fieldsetting width to "Auto" as below.(If the value is too long,the grid cell will not showing all characters.)
<igDP:FieldSettings CellClickAction="SelectRecord" Width="Auto"/>
Now i want fix the first column by below code, but it doesn't work. Anyone can help me on this?
<igDP:Field Name="KeyID" Label="{x:Static resourceRepository:Resources.Key_Id}" Width=40"/>
Thanks,
Brandon.
Hello Brandon,
Thank you for the feedback. I am glad I was able to help.
Hi Dimitrova,
Thank you for your reply.
I have seen your sample, then I realize that it's the AutoFitMode="Always" made this issue as below code. I removed this property and it works.
<igDP:FieldLayoutSettings AllowClipboardOperations="Copy" AllowDelete="False" AllowFieldMoving="WithinLogicalRow" AutoFitMode="Always" AutoGenerateFields="False" CopyFieldLabelsToClipboard="True" DataErrorDisplayMode="ErrorIconAndHighlight" SupportDataErrorInfo="CellsOnly" />
Thanks again!!!!!
Thank you for your post!
I have been looking into it and have created a small sample application, in order to test the behavior you have mentioned. I was not able to reproduce the issue.
I am attaching the sample application I have been testing with. In it I have a simple XamDataGrid bind to a collection. I have also used the FieldSetting you have provided. Would you please modify the sample with the functionality you are using, so it reproduces the issue?
Thank you for the cooperation. Looking forward to hearing from you.