Obviously you have 2 columns for the years but how many rows are we talking? You might as well create an HTML table & use SPAN tags w/ IDs to just populate the table using element.innerHTML() once you have a map click event. & access to the data values A pain in the butt to initially code but it would work.

The client isn't quite certain about the final rows, but I'd say around a dozen, tops. I thought about making a plain table, especially since the output format is nothing like how the data will be stored in a table. Makes it tough to have meaningful events associated with it.

I've used row Renderers before. I wonder if I could take advantage of that to build a table. Generally I'm making something that looks like a paragraph with divs, but I guess there's no reason why it couldn't be a table instead as long as I had the HTML format right.

It seems like there's been issues with the forum the past couple of days. Yesterday I wasn't able to reply to any thread until the end of the day and this AM it was just down.

I'm going to give that a try, along with my renderRow idea. It seems like I might be able to stuff some of this into an array of fields names and step through it that way. It would save hard coding all those fields. If I have to do it that way, it would be manageable, but tedious. I haven't tried to manipulate the output of the QueryTask with SQL, but then I've never needed to before.

Right now, this is largely a theoretical question. I don't have the services started up yet to code against while we finalize the specs for this project. I'll have to remember to come back later and update this post. I just hate to tell a customer that something is possible, when I've never done it before.

My only other random thought was if you could use a SQL query to craft the response from your queryTask in the format you want. I know ESRI typically says "any standard SQL query" works but we all know that's not true..

I wrote up an example using some dummy data in arrays. Eventually the arrays will be populated from the results of a task (either identify or query, I haven't decided.)

I'm hoping that I'm making a a simple mistake, as opposed to flawed logic of how this could work. I'm setting breakpoints to evaluate the components and see there are values. Obviously not the right format, or my grid would be populated.