203
204
205
206
207
208
209
210
211
212
213
214
|
# File 'lib/hwidgets/htableview.rb', line 203
def self.niceTable2()
tableView = self.niceTable()
str = "#tableName-#fieldName-#tag"
tableView.td.set(class: "#{str}",
id: "#{str}-id-#rowNumber-#colNumber-#fieldValue",
name: "#{str}-name-#rowNumber")
tableView.tr[0].set(class: "#tableName-tr-#alternateRowNumber", id: "#tableName-#rowNumber-#id-#name")
tableView.tr[1].set(class: "#tableName-tr-#alternateRowNumber", id: "#tableName-#rowNumber-#id-#name")
tableView.totalizerTr[0].set(class: "#totalizerName-#totalizerValue")
return tableView
end
|