| ... |
... |
@@ -9,10 +9,11 @@ |
| 9 |
9 |
'TP2': {}, |
| 10 |
10 |
'TP3': {}, |
| 11 |
11 |
'TradeReason': {}, |
|
12 |
+ 'doc.creator': {"link":"author"}, |
| 12 |
12 |
'doc.title': {"link":"view"}, |
| 13 |
13 |
'doc.name': {"link":"view"}, |
| 14 |
14 |
'doc.location': {"html":true}, |
| 15 |
|
- 'shortText': {} |
|
16 |
+ '_actions': {"sortable":false,"filterable":false,"html":true,"actions":["edit","delete"]} |
| 16 |
16 |
}) |
| 17 |
17 |
#set ($options = { |
| 18 |
18 |
'className': 'TradeJournal.Code.TradeJournalClass', |
| ... |
... |
@@ -23,6 +23,6 @@ |
| 23 |
23 |
'selectedColumn': 'forexPair', |
| 24 |
24 |
'defaultOrder': 'asc' |
| 25 |
25 |
}) |
| 26 |
|
-#set ($columns = ['forexPair', 'OpenDate', 'CloseDate', 'Entry', 'SL', 'TP1', 'TP2', 'TP3', 'TradeReason', 'doc.title', 'doc.name', 'doc.location', 'shortText']) |
|
27 |
+#set ($columns = ['forexPair', 'OpenDate', 'CloseDate', 'Entry', 'SL', 'TP1', 'TP2', 'TP3', 'TradeReason', 'doc.creator', 'doc.title', 'doc.name', 'doc.location', '_actions']) |
| 27 |
27 |
#livetable('tradejournal' $columns $columnsProperties $options) |
| 28 |
28 |
{{/velocity}} |