Hi,
I've got a problem editing an ig:TextColumn in my xamGrid. The datasource of my grid is a class implementing IList. The items have properties of type string, boolean and some objects.
Everything is displayed correctly and there is no problem editing the properties in ig:CheckBoxColum and ig:TemplateColumn. But when I try to edit the ig:TextColumns I can't enter any text. I can delete any text in the cell using delete and backspace, I can enter white spaces, I can paste text, but I can't type in directly using my keyboard. What's wrong? Here some code:
<ig:XamGrid Name="gridKlassen" AutoGenerateColumns="False" RowHover="Row" KeyboardNavigation="AllLayouts"> <ig:XamGrid.EditingSettings> <ig:EditingSettings AllowEditing="Row" IsEnterKeyEditingEnabled="True" /> </ig:XamGrid.EditingSettings> <ig:XamGrid.RowSelectorSettings> <ig:RowSelectorSettings Visibility="Visible"/> </ig:XamGrid.RowSelectorSettings> <ig:XamGrid.Columns> <ig:TextColumn Key="Klassen_ID" Visibility="Collapsed"/> <ig:TextColumn Key="KlassenBezeichnung" HeaderText="Klasse" IsReadOnly="True"/> <ig:CheckBoxColumn Key="Klassenleiter_Gez"/> <ig:TextColumn Key="ZeugnisunterzeichnerVoran" IsReadOnly="False"> <ig:TextColumn.HeaderTemplate> <DataTemplate> <TextBlock TextWrapping="Wrap"> Zeugnisunterz. <LineBreak/> vorangestellt </TextBlock> </DataTemplate> </ig:TextColumn.HeaderTemplate> </ig:TextColumn> </ig:XamGrid.Columns> </ig:XamGrid>
The column I need to edit is 'ZeugnisunterzeichnerVoran'.
Thank you for any help in advance
Stephan
Hello Stephen,
Thank you for your post. I have been looking into the issue that you have described and I could not managed to reproduce it. I have created a sample application based on the code snippet that you have provided and tested it with the latest service release of version 14.1 and I am able to edit the “ZeugnisunterzeichnerVoran” column.
Would you please let me know if you can reproduce the same behavior with my sample application and if not, would you please modify my sample to show the issue, in order to be able to investigate what might be causing it?
Looking forward to hearing from you.
Sincerely,
Krasimir, MCPD
Developer Support Supervisor - XAML
Infragistics
www.infragistics.com/support
I am just checking if you require any further assistance on the matter.
Hello Krasimir,
in the last weeks I was pretty tied up by some other stuff so I didn't find the time to answer. Sorry for that.
Finally I could narrow down problem but I couldn't solve it. The project in question is originally a windows-forms project which I'm converting to WPF. Old windows are winforms the newer ones wpf.
I set up a brand new wpf-project with just one window containing just one xamGrid and filled it with some data. In this case I can edit all data just like it should be. Next copied this exact wpf-window whith all its coding into the Winforms-project. Again all works fine but I cannot enter any data. I can delete text, copy and paste, write white spaces but no other characters.
Any idea what to do?
Thanks