diff options
author | Abyss777 <abyss@fox5.ru> | 2017-10-17 17:02:47 +0500 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2017-10-17 17:02:47 +0500 |
commit | 41a18fef939d249ae5ed9ac4ae35c0a4e5ed8770 (patch) | |
tree | e405165239075265962fee36ec3d2289f3d98b1a /web/app/view/edit/Devices.js | |
parent | 531f9d5c556e9795b32099587bfa84f3b74017c4 (diff) | |
download | trackermap-web-41a18fef939d249ae5ed9ac4ae35c0a4e5ed8770.tar.gz trackermap-web-41a18fef939d249ae5ed9ac4ae35c0a4e5ed8770.tar.bz2 trackermap-web-41a18fef939d249ae5ed9ac4ae35c0a4e5ed8770.zip |
Implement base Grid Panel class with common configs
Diffstat (limited to 'web/app/view/edit/Devices.js')
-rw-r--r-- | web/app/view/edit/Devices.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/web/app/view/edit/Devices.js b/web/app/view/edit/Devices.js index d2ba0f3d..39550b6c 100644 --- a/web/app/view/edit/Devices.js +++ b/web/app/view/edit/Devices.js @@ -16,11 +16,10 @@ */ Ext.define('Traccar.view.edit.Devices', { - extend: 'Ext.grid.Panel', + extend: 'Traccar.view.GridPanel', xtype: 'devicesView', requires: [ - 'Ext.grid.filters.Filters', 'Traccar.AttributeFormatter', 'Traccar.view.edit.DevicesController', 'Traccar.view.ArrayListFilter', @@ -29,8 +28,6 @@ Ext.define('Traccar.view.edit.Devices', { controller: 'devices', - plugins: 'gridfilters', - store: 'VisibleDevices', stateful: true, @@ -82,6 +79,7 @@ Ext.define('Traccar.view.edit.Devices', { }, viewConfig: { + enableTextSelection: true, getRowClass: function (record) { var status = record.get('status'); if (status) { |