Hi everyone!
I was wondering if I could force xamDataGrid to rebind only one record (or a set of records)?
Here's what I do: The grid is used only for displaying data (data is retrieved from a remote database). Sometimes some outer actions cause minor changes in DB. And my application receives those changes, i.e. I know exactly what DataRows have been changed. But I have to rebind the whole grid for the changes to appear. And also, I lose current selection in the grid after rebind.
So, how can I rebind (edit) specific row in the xamDataGrid?
Thanks
Thank you for the answer.
I'll try to use this information. Too bad the generated in VS typed datasets don't implement those interfaces.
We're having a problem with this issue in our project. We're binding xamDataGrid to a typed dataset which contains relations. We're able to copy tables to some IBindingList collection, but what should we do with relations? How can we bind xamDataGrid to multiple collections and set relations between them to make the grid show the hierarchy?
Could you please advise anything about that? Thank you
Thanks a lot, Joe. That was a big "oops, haven't noticed that!" :)It works just as expected. But I still have one issue, if I merge the source dataset with another dataset (of the same schema) - nothing happens. When debugging, I clearly see the dataset have been changed, but the grid doesn't catch it. But if I manually change some field in the dataset, everything's fine.
Do you know what causes this problem?
By merging I mean invoking the "Merge()" method of a dataset.