Databinding to a dataset

Is it possible to use databinding to bind the values in a DataSet or DataTable to the WPF grid?

The TraderGridTest uses a DataSet but doesn't use databinding to update the cells.


1 Reply

AD Administrator Syncfusion Team July 14, 2008 11:23 PM UTC

Currently, you would have to use the grid in virtual mode, handling QueryCellInfo and CommitCellInfo to do the databinding. Below is a little sample showing how you might do this. In future releases, there will be a way to do things just by setting a DataSource property.





VirtualGridDataTableSort_4e45ef8d.zip

Loader.
Up arrow icon