#foreach ($column in $selected-columns) #headerCell ($column) #end #foreach ($quote in $quotes) #if ($columns.indexOf("Symbol") >= 0) #entryCell ($quote.Symbol) #end #if ($columns.indexOf("Price") >= 0) #entryCell ($quote.Price) #end #if ($columns.indexOf("Change") >= 0) #entryCell ($quote.Change) #end #if ($columns.indexOf("Volume") >= 0) #entryCell ($quote.Volume) #end #end