Hi guys,
It will be complicated for you to implement the Master-Detail data displaying in DataGridVIew?
For example, if we have 2 tables related (parent-child), we want to see in a Gridview the child records related to the selected parent. Something like devexpress has ( http://demos.devexpress.com/ASPxGridViewDemos/MasterDetail/MasterDetail.aspx )
Thanks and best regards
Arno
Hi Arno,
With the VWG 6.4 ListView componant you can acomplish this.
You can show there any control you like so also a listview inside a listview.
See the demo i make some time ago:
http://www.screencast.com/users/Visualizer/folders/Jing/media/ea06bfbc-305c-49b2-8002-cfb5dd1ad58e
The example application can be found in the Knowledge base here:
http://www.visualwebgui.com/Developers/KB/tabid/654/article/64_hierarchal_listview_demo/Default.aspx
Best regards,
Tom
I think the references Tom gave you, as very good ones, and the ListView can be used for that. As for the DataGridView, then no, with the DataGridView itself, you can't do that.
Thanks Tom,
Palli
Hi Tom, Hi palli,
Thanks for the example Tom. The only problem I see here is that listview doesn't allow inline editing. Is this true?
In that listview you can add any panel you like so also a panel where you put fields to edit the data.
But you all have to program this by yourself it's not standard as in a datagrid.