diff options
author | Abyss777 <abyss@fox5.ru> | 2017-06-19 11:34:01 +0500 |
---|---|---|
committer | Abyss777 <abyss@fox5.ru> | 2017-06-19 16:09:43 +0500 |
commit | b2b9e4cb213023697566885340d2ff7b5a44db8b (patch) | |
tree | acd73e2c5ccd3eda062b0228873d2239e2d988fd /web/app/view/permissions/UserGroups.js | |
parent | f3ce72afbd49ccde94178158147de7b378128a55 (diff) | |
download | trackermap-web-b2b9e4cb213023697566885340d2ff7b5a44db8b.tar.gz trackermap-web-b2b9e4cb213023697566885340d2ff7b5a44db8b.tar.bz2 trackermap-web-b2b9e4cb213023697566885340d2ff7b5a44db8b.zip |
- Added columns filters to most windows
- Added more columns to UserDevices and UserGroups
- Change openlayers version to 4.2.0
Diffstat (limited to 'web/app/view/permissions/UserGroups.js')
-rw-r--r-- | web/app/view/permissions/UserGroups.js | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/web/app/view/permissions/UserGroups.js b/web/app/view/permissions/UserGroups.js index 0c23713b..bc24201c 100644 --- a/web/app/view/permissions/UserGroups.js +++ b/web/app/view/permissions/UserGroups.js @@ -19,12 +19,32 @@ Ext.define('Traccar.view.permissions.UserGroups', { extend: 'Traccar.view.permissions.Base', xtype: 'userGroupsView', + requires: [ + 'Ext.grid.filters.Filters', + 'Traccar.AttributeFormatter' + ], + + plugins: 'gridfilters', + columns: { items: [{ text: Strings.sharedName, dataIndex: 'name', flex: 1, - minWidth: Traccar.Style.columnWidthNormal + minWidth: Traccar.Style.columnWidthNormal, + filter: 'string' + }, { + text: Strings.groupDialog, + dataIndex: 'groupId', + flex: 1, + minWidth: Traccar.Style.columnWidthNormal, + hidden: true, + filter: { + type: 'list', + labelField: 'name', + store: 'AllGroups' + }, + renderer: Traccar.AttributeFormatter.getFormatter('groupId') }] } }); |