Here's a long shot question that someone who really knows the dataTable code might be able to answer.
I'm building a component that extends dataTable, with a renderer that extends dataTable's renderer.
What I'm having trouble with is that I actually need to have my hands on the var and its associated rowData before the encodeBegin of the table -- I need it when we're encoding the headerFacets of the child columns. So I'm trying to figure out what I have to call at the beginning of the encodeHeader function of my renderer that will build up the variable map and stick it in my requestMap before continuing.
Is there an easy way to do this? I've been running circles around the various DataAdaptor and DataModel classes but haven't been able to figure out how to populate this map without trying to encode the whole tree. Beginning to wonder if it's even possible to tweeze this functionality apart from the encoding functions.
I realize what I'm asking is kind of vague, but I think this is the simplest way to explain what I need. Any insight is appreciated.