Changes for page TradeJournal

Last modified by Drunk Monkey on 2024-09-27 08:27

From version 5.1
edited by Drunk Monkey
on 2021-08-09 07:27
Change comment: Update LiveTable
To version 4.1
edited by Drunk Monkey
on 2020-05-12 06:39
Change comment: Update LiveTable

Summary

Details

Page properties
Content
... ... @@ -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}}
AppWithinMinutes.LiveTableClass[0]
Live Table Columns
... ... @@ -1,1 +1,1 @@
1 -forexPair OpenDate CloseDate Entry SL TP1 TP2 TP3 TradeReason doc.title doc.name doc.location shortText
1 +forexPair OpenDate CloseDate Entry SL TP1 TP2 TP3 TradeReason doc.creator doc.title doc.name doc.location _actions