Forum  Commercial Foru...  Commercial Foru...  DataGidView Control - Master-Detail data
Previous Previous
 
Next Next
New Post 2/25/2011 1:21 AM
  abreuss
59 posts
No Ranking


DataGidView Control - Master-Detail data 

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

 
New Post 2/25/2011 2:02 AM
  Visualizer
665 posts
1st Level Poster




Re: DataGidView Control - Master-Detail data 

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

 
New Post 2/25/2011 12:41 PM
  palli
11838 posts
1st Level Poster




Re: DataGidView Control - Master-Detail data 

Hi Arno,

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

 


Páll Björnsson - Visual WebGui support team - Email: support@visualwebgui.com
 
New Post 2/28/2011 6:24 AM
  abreuss
59 posts
No Ranking


Re: DataGidView Control - Master-Detail data 

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?

Thanks and best regards

Arno

 
New Post 2/28/2011 6:45 AM
  Visualizer
665 posts
1st Level Poster




Re: DataGidView Control - Master-Detail data 

Hi Arno,

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.

Best regards,

Tom

 
Previous Previous
 
Next Next
  Forum  Commercial Foru...  Commercial Foru...  DataGidView Control - Master-Detail data
Assessment Bottom
.NET Web, Cloud and Mobile application delivery platform | Sitemap | Terms of Use | Privacy Statement | Copyright © 2005-2011 Visual WebGui®       Visual WebGui weblog on ASP.NET Visual WebGui Group on LinkedIn Visual WebGui updates on Twitter Visual WebGui Page on Facebook Visual WebGui YouTube Channel Visual WebGui Platform News RSS