Treeview and datagrid

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hello,

I have a problem. I'm using a treeview and a datagrid. I'm adding the nodes
dynamically to the treeview based on a dataset. The nodes have checkboxes.
I want to display the data in the datagrid based on the checked nodes in the
treeview. The datagrid has to change whenever a node becomes checked or
unchecked.
Please help, i really don't know how to do this.

Huahe
 
Huahe,

I assume that you can set your datatable to a dataview.

Use that dataview as datasource and set the rowfilter of that dataview
accoording to the checked node.

I hope this helps?

Cor
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top