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
675
Trouble binding xamdatatree to dataview
posted

I have a ViewModel that exposes a DataView called MyTechGroupsDataView.

This DataView is the default view of a table called "DispatcherGroups" which contains a column called "Name".

I'd like to bind the XamDataTree to the DataView and have the top level nodes be the rows in the "DispatcherGroups" table.

Could someone post a sample of how to bind to a DataView?

Parents
  • 27093
    Verified Answer
    posted

    Hello, 

    I have been looking into your requirement and I am not completely sure what you mean by “nodes be the rows in the "DispatcherGroups" table”, however I have created a sample project for you (XamDataTreeDataSet.zip), showing how you can bind related DataTables from a DataSet, in order to get hierarchical XamDataTree. 

    Please let me know if you require any further clarification on the matter

    XamDataTreeDataSet.zip
Reply Children