This is exactly what I need, but I'm a little bit confused about how it works. You have chartDATA as your table's name (so I'm guessing it's a list of rows of some sort), and then you have ajax:displayTag id="chartDATA"... then when you reference chartDATA later, which one are you referencing? Can this be done without the ajax portion (mostly so I can get it done in a simpler fashion first)? Is your list "chartDATA" some kind of 2 dimensional array, because I see that the s:property value item seems to be a 2 dimensional array to get the value... Any additional help on this would be great!
Thanks --TJ dynamicd wrote: > > <ajax:displayTag id="chartDATA" ajaxFlag="chartDATA"> > <display:table name="chartDATA" uid="chartRow" id="chartRow" pagesize="25" > excludedParams="*" export="true" class="table" > requestURI="/Dashboard/ViewReportData.action"> > <s:iterator value="columnNames" id="column" status="stat2"> > <display:column title="${column}"><s:property > value="#attr.chartDATA[#attr.chartRow_rowNum -1][#stat2.count-1]" /> > </display:column> > </s:iterator> > </display:table> > </ajax:displayTag> > </form> > > </div> > > Hopefully it will help someone.. > -- View this message in context: http://www.nabble.com/Struts2-DisplayTag-dynamic-table-tp19681086p20190187.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]