PDA

View Full Version : Alternating column layouts (summary/detail)



J. Brisbin
16 Apr 2007, 1:36 PM
I have a home-grown Ajax component in a workflow application that shows a table of summarized data and, when the row is clicked, expands a row below it to show detailed data and provide a user input form. I would like to re-tool this custom component into something that looks a lot nicer, like the Ext grid, which I use in other areas of our intranet.

The problem I'm having is to figure out if something like this is even possible with Ext.grid. I don't see how I can create a grid with alternating column layouts (one summary, then one detail which is hidden until the summary is clicked on, etc... ad nauseum) like what I have now. I could probably use something like the right-hand pane of the feed reader (or any modern email app, for that matter), but I wanted to try and keep the functionality of the page as close to what we've got now as possible.

Has anyone created something like this? Or does everyone else use an email app-type approach or pop up a Box of some kind with the detail in it?