Method: HTableView#setSummary
- Defined in:
- lib/hwidgets/htableview.rb
#setSummary ⇒ Object
138 139 140 141 142 143 144 145 146 147 148 149 150 |
# File 'lib/hwidgets/htableview.rb', line 138 def setSummary() @fieldTable.summaryList.each_with_index do |summary, i| tr = self.appendRow() thName = tr.getChilds()[-2] thValue = tr.getChilds()[-1] tr.setPlaceholder("#summaryName", summary.value()) tr.setPlaceholder("#summaryValue", summary.value(:value)) thName.setInnerHTML(summary.value()) thValue.setInnerHTML(summary.value(:value)) end end |