... |
... |
@@ -9,10 +9,7 @@ |
9 |
9 |
'TP2': {}, |
10 |
10 |
'TP3': {}, |
11 |
11 |
'TradeReason': {}, |
12 |
|
- 'doc.title': {"link":"view"}, |
13 |
|
- 'doc.name': {"link":"view"}, |
14 |
|
- 'doc.location': {"html":true}, |
15 |
|
- 'shortText': {} |
|
12 |
+ '_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']) |
|
23 |
+#set ($columns = ['forexPair', 'OpenDate', 'CloseDate', 'Entry', 'SL', 'TP1', 'TP2', 'TP3', 'TradeReason', '_actions']) |
27 |
27 |
#livetable('tradejournal' $columns $columnsProperties $options) |
28 |
28 |
{{/velocity}} |