Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sencha-core
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
project-open
sencha-core
Commits
074ca5a1
Commit
074ca5a1
authored
Jan 02, 2021
by
Project Open
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Just reformatting source code
parent
30c28187
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
20 deletions
+27
-20
GanttTreePanel.adp
www/view/gantt/GanttTreePanel.adp
+27
-20
No files found.
www/view/gantt/GanttTreePanel.adp
View file @
074ca5a1
...
...
@@ -348,26 +348,33 @@ Ext.define('PO.view.gantt.GanttTreePanel', {
{text: 'Prio', stateId: 'treegrid-prio', flex: 0, width: 40, dataIndex: 'priority', hidden: true,
editor: { xtype: 'numberfield', minValue: 0, maxValue: 1000 }
},
{text: 'Status', stateId: 'treegrid-status', flex: 1, hidden: true, dataIndex: 'project_status_id', sortable: false,
editor: {
xtype: 'combobox',
forceSelection: true,
allowBlank: false,
editable: false,
store: Ext.create('Ext.data.Store', {
fields: ['id', 'category'],
data: [{id: "76", category: "Open"},{id: "81", category: "Closed"}]
}),
displayField: 'category',
valueField: 'id'
},
renderer: function(value) {
if ("" == value) return "";
var statusStore = Ext.StoreManager.get('taskStatusStore');
var model = statusStore.getById(value);
if (!model) return "Status #"+value;
return model.get('category');
}},
{
text: 'Status',
stateId: 'treegrid-status',
flex: 1,
hidden: true,
dataIndex: 'project_status_id',
sortable: false,
editor: {
xtype: 'combobox',
forceSelection: true,
allowBlank: false,
editable: false,
store: Ext.create('Ext.data.Store', {
fields: ['id', 'category'],
data: [{id: "76", category: "Open"},{id: "81", category: "Closed"}]
}),
displayField: 'category',
valueField: 'id'
},
renderer: function(value) {
if ("" == value) return "";
var statusStore = Ext.StoreManager.get('taskStatusStore');
var model = statusStore.getById(value);
if (!model) return "Status #"+value;
return model.get('category');
}
},
{text: 'Project Nr', stateId: 'treegrid-nr', flex: 1, dataIndex: 'project_nr', hidden: true, sortable: false, editor: true},
{text: 'WBS', stateId: 'treegrid-wbs', flex: 1, dataIndex: 'project_wbs', hidden: true, sortable: false, editor: true},
{header: 'Effort Driven?', stateId: 'treegrid-effort-driven-p', flex: 0, width: 40,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment