Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
350
xamGrid: Can't Edit TextColumn
posted

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

Parents
  • 30945
    Offline posted

    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

    GridEditing.zip
Reply Children