Wiki source code of ReportParts
Last modified by Dongxu Lu on 2023/04/13 11:47
Hide last authors
| author | version | line-number | content |
|---|---|---|---|
| |
1.1 | 1 | {{velocity}} |
| 2 | #set ($columnsProperties = { | ||
| 3 | 'doc.title': {"link":"view"}, | ||
| 4 | 'type': {}, | ||
| 5 | 'doc.location': {"html":true}, | ||
| 6 | 'doc.date': {}, | ||
| 7 | 'doc.author': {"link":"author"}, | ||
| 8 | '_actions': {"sortable":false,"filterable":false,"html":true,"actions":["edit","delete"]} | ||
| 9 | }) | ||
| 10 | #set ($options = { | ||
| 11 | 'className': 'Reports.ReportParts.Code.ReportPartsClass', | ||
| 12 | 'translationPrefix': 'reportparts.livetable.', | ||
| 13 | 'tagCloud': true, | ||
| 14 | 'rowCount': 15, | ||
| 15 | 'maxPages': 10, | ||
| 16 | 'selectedColumn': 'doc.title', | ||
| 17 | 'defaultOrder': 'asc' | ||
| 18 | }) | ||
| 19 | #set ($columns = ['doc.title', 'type', 'doc.location', 'doc.date', 'doc.author', '_actions']) | ||
| 20 | #livetable('reportparts' $columns $columnsProperties $options) | ||
| 21 | {{/velocity}} |