aboutsummaryrefslogtreecommitdiff
path: root/web/app/view/report/Report.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-09-16 19:45:57 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-09-16 19:45:57 +1200
commitc83cd82f605e93d17666ce5fd165552e56e21a31 (patch)
tree8795aaf5b88e2073a31120c6055cefe1cdac808b /web/app/view/report/Report.js
parent2c9cbb340ff17a8af0129ab7a4ffa9e535c26a22 (diff)
downloadtrackermap-server-c83cd82f605e93d17666ce5fd165552e56e21a31.tar.gz
trackermap-server-c83cd82f605e93d17666ce5fd165552e56e21a31.tar.bz2
trackermap-server-c83cd82f605e93d17666ce5fd165552e56e21a31.zip
Add attribute formatter class
Diffstat (limited to 'web/app/view/report/Report.js')
-rw-r--r--web/app/view/report/Report.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/web/app/view/report/Report.js b/web/app/view/report/Report.js
index 67547e536..25f3b244a 100644
--- a/web/app/view/report/Report.js
+++ b/web/app/view/report/Report.js
@@ -87,27 +87,27 @@ Ext.define('Traccar.view.report.Report', {
dataIndex: 'fixTime',
flex: 1,
xtype: 'datecolumn',
- //renderer: Traccar.app.getRenderer()
+ renderer: Traccar.AttributeFormatter.getFormatter('fixTime')
}, {
text: strings.positionLatitude,
dataIndex: 'latitude',
flex: 1,
- //renderer: Traccar.app.getRenderer('latitude')
+ renderer: Traccar.AttributeFormatter.getFormatter('latitude')
}, {
text: strings.positionLongitude,
dataIndex: 'longitude',
flex: 1,
- //renderer: Traccar.app.getRenderer('latitude')
+ renderer: Traccar.AttributeFormatter.getFormatter('latitude')
}, {
text: strings.positionAltitude,
dataIndex: 'altitude',
flex: 1,
- //renderer: Traccar.app.getRenderer('altitude')
+ renderer: Traccar.AttributeFormatter.getFormatter('altitude')
}, {
text: strings.positionSpeed,
dataIndex: 'speed',
flex: 1,
- //renderer: Traccar.app.getRenderer('speed')
+ renderer: Traccar.AttributeFormatter.getFormatter('speed')
}, {
text: strings.positionAddress,
dataIndex: 'address',