Home Forums WPF controls Xceed DataGrid for WPF Have to change data for new row

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #25522 |

    I have a datagird that is bound to a collection. the collection derives from ObservableCollection and also implements IBindingList.

    I’ve added an insertion row as usual
    <xc:DataGridControl Name=”grdPaxConfig” NavigationBehavior=”RowOrCell”
    EditTriggers=”ClickOnCurrentCell,BeginEditCommand” AutoCreateColumns=”False”>
    <xc:DataGridControl.View>
    <xc:TableView>
    <xc:TableView.FixedFooters>
    <DataTemplate>
    <xc:InsertionRow/>
    </DataTemplate>
    </xc:TableView.FixedFooters>
    </xc:TableView>
    </xc:DataGridControl.View>

    this is all good but when I click on the insertion row, I have to change the default data or the row isn’t added… any idea why?

    Imported from legacy forums. Posted by Colin (had 2319 views)

    Xceed Support
    Member
    Post count: 5658

    This is due to the fact that if none of the Cells are “dirty” for the Row when it leaves edition, then we are cancelling the edition.

    I have noted this issue as a “feature suggestion”, we will keep you informed on the progression of this issue.

    Imported from legacy forums. Posted by Marcus [Xceed] (had 167 views)

    User (Old forums)
    Member
    Post count: 23064

    Thanks for the reply Marcus. Any ideas for a workaround?

    Imported from legacy forums. Posted by Colin (had 3347 views)

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.