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 7.1
edited by Drunk Monkey
on 2024-09-27 08:27
Change comment: Update LiveTable

Summary

Details

Page properties
Content
... ... @@ -1,18 +1,12 @@
1 1  {{velocity}}
2 2  #set ($columnsProperties = {
3 + 'doc.title': {"link":"view"},
3 3   'forexPair': {},
4 4   'OpenDate': {"html":true},
5 5   'CloseDate': {"html":true},
6 6   'Entry': {},
7 - 'SL': {},
8 - 'TP1': {},
9 - 'TP2': {},
10 - 'TP3': {},
11 - 'TradeReason': {},
12 - 'doc.title': {"link":"view"},
13 - 'doc.name': {"link":"view"},
14 - 'doc.location': {"html":true},
15 - 'shortText': {}
8 + 'shortText': {},
9 + 'TradeAnalysis': {"filterable":false,"sortable":false,"html":true}
16 16  })
17 17  #set ($options = {
18 18   'className': 'TradeJournal.Code.TradeJournalClass',
... ... @@ -20,9 +20,9 @@
20 20   'tagCloud': true,
21 21   'rowCount': 15,
22 22   'maxPages': 10,
23 - 'selectedColumn': 'forexPair',
17 + 'selectedColumn': 'doc.title',
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'])
20 +#set ($columns = ['doc.title', 'forexPair', 'OpenDate', 'CloseDate', 'Entry', 'shortText', 'TradeAnalysis'])
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 +doc.title forexPair OpenDate CloseDate Entry shortText TradeAnalysis