Wiki source code of TradeJournal
Version 2.1 by Drunk Monkey on 2020-05-12 06:29
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | {{velocity}} | ||
| 2 | #set ($columnsProperties = { | ||
| 3 | 'forexPair': {}, | ||
| 4 | 'OpenDate': {"html":true}, | ||
| 5 | 'CloseDate': {"html":true}, | ||
| 6 | 'Entry': {}, | ||
| 7 | 'SL': {}, | ||
| 8 | 'TP1': {}, | ||
| 9 | 'TP2': {}, | ||
| 10 | 'TP3': {}, | ||
| 11 | 'TradeReason': {}, | ||
| 12 | '_actions': {"sortable":false,"filterable":false,"html":true,"actions":["edit","delete"]} | ||
| 13 | }) | ||
| 14 | #set ($options = { | ||
| 15 | 'className': 'TradeJournal.Code.TradeJournalClass', | ||
| 16 | 'translationPrefix': 'tradejournal.livetable.', | ||
| 17 | 'tagCloud': true, | ||
| 18 | 'rowCount': 15, | ||
| 19 | 'maxPages': 10, | ||
| 20 | 'selectedColumn': 'forexPair', | ||
| 21 | 'defaultOrder': 'asc' | ||
| 22 | }) | ||
| 23 | #set ($columns = ['forexPair', 'OpenDate', 'CloseDate', 'Entry', 'SL', 'TP1', 'TP2', 'TP3', 'TradeReason', '_actions']) | ||
| 24 | #livetable('tradejournal' $columns $columnsProperties $options) | ||
| 25 | {{/velocity}} |