PDA

View Full Version : DetailsView control



hcervantes
10 Aug 2007, 10:23 AM
Is there a DetailsView control like the one for ASP.Net in ExtJS? A DetailsView control displays details from a selected row in a data grid. It renders a single record at a time, similiar to the form view of an access table. I would like to create the functionality of displaying summary statistics of selected rows in a datagrid on another panel.
I have attached a graphic of what I am talking about.
How can I accomplish this?
Thanks.
http://www.hcervantes.com/img/gird_detailsView.GIF

JorisA
11 Aug 2007, 4:42 PM
I posted the same in your other thread. Isn't this just a Propertygrid? On rowselect update dhe propertygrid with new values, and voila!

tgo
12 Aug 2007, 10:23 PM
I believe, JorisA is correct. Use a PropertyGrid. That's what I use too for this kind of display. After all, PropertyGrid is meant to display name/value pairs.

J.C. Bize
13 Aug 2007, 6:08 AM
alternatively, you could just use 2 extJS grid with a master/detail type relationship.