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

Re: insert row with C#

  •  06-06-2008, 12:32 PM

    Re: insert row with C#

    Take a look at the Providing Unbound Data example in the Providing Data  topic. 

    From the same topic:

    The DataGridCollectionView supports insertion as long as the underlying DataGridCollectionView-wrapped collection implements the IBindingList interface (you can also use BindingList<>) and its AllowNew property returns true. In this case, the AddNew method can be used to add new data items to the underlying collection, while the EndNew and CancelNew methods can be used to commit the new item or cancel its addition.

    As for being able to edit, are the properties in your data object get/set? Ifyou provide your data after the Window has loaded, do you see your data?


    Technical Writer - Xceed Software

    Of all the things I've lost, I miss my mind the most. - Mark Twain
    Filed under:
View Complete Thread
Contact | Site Map | Reviews | Legal Terms of Use | Trademarks | Privacy Statement Copyright 2008 Xceed Software Inc.