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
715
Adding xamWebGrid row programmatically
posted

Hello!

Can you show the sample how to add the row programmatically ( without  ItemsSource property)?

Thank you.

Parents
No Data
Reply
  • 40030
    Offline posted

    Hi,

    The xamWebGrid doesn't have an unbound mode. So there must always be an ItemSource set.

    One options, is that you can add an empty ObservableCollection to the xamWebGrid.  Then, whenever you add a row to that collection, the xamWebGrid will automatically show that row, as an ObservableCollection implements INotifyCollectionChanged. 

    I hope this helps,

    -SteveZ

Children