Welcome to the Xceed Community Sign in | Join | Help
Community Search  

xcdg:CellEditorBinding error with two data grids.

Sort Posts: Previous Next
  •  08-20-2008, 5:38 PM Post no. 14269

    xcdg:CellEditorBinding error with two data grids.

    I have two datagrids on one control. Each one is having multiple combo boxes in its celleditor. Now when I select a value on edit and move on to next row, the values of these comboxboxes disappear. Here is one of the cell editor. What could be possibly wrong.

    Even though on the another page, I have only one datagrid with multiple comboboxes, they are able to retain there values but on this page where I have 2 datagrids it is not retaining any combobox values.

     

               <xcdg:Column.CellEditor>
                                    <xcdg:CellEditor>
                                        <xcdg:CellEditor.EditTemplate>
                                            <DataTemplate>
                                                <ComboBox     SelectedItem="{xcdg:CellEditorBinding}" 
                                                              ItemsSource="{Binding Source={StaticResource _fieldsCVS}}"
                                                              ItemTemplate="{StaticResource fieldItemTemplate}">
                                                </ComboBox>
                                            </DataTemplate>
                                        </xcdg:CellEditor.EditTemplate>
                                        <xcdg:CellEditor.ActivationGestures>
                                            <xcdg:KeyActivationGesture Key="Right"/>
                                            <xcdg:KeyActivationGesture Key="Left"/>
                                        </xcdg:CellEditor.ActivationGestures>
                                    </xcdg:CellEditor>
                                </xcdg:Column.CellEditor>

  •  08-20-2008, 6:09 PM Post no. 14271 in reply to 14269

    Re: xcdg:CellEditorBinding error with two data grids.

    Fixed, code issue.

View as RSS news feed in XML
Contact | Site Map | Reviews | Legal Terms of Use | Trademarks | Privacy Statement Copyright 2008 Xceed Software Inc.