I am generalizing an item renderer so that I can use the same component on different columns in a datagrid.
The glitch I've run into at the moment is figuring out how to access the different bits of data. Specifically I have an itemrenderer that works great for the column containing data.itemprice I want to change my component so that it will work on data.itemprice and data.total I thought I could use a setter to pass in a string with either "itemprice" or "total" into the component. But then how do I use that string to extract the value appropriate to the given column. Sorry if this is a trivial xml question, but I'm in the situation where my need for results outstrips my opportunity to gracefully expand my knowledge base from the ground up. Regards, Claude

