Page 2 of 2
Re: Adding a new column to resource assignment popup.
Posted: Wed May 11, 2016 8:12 am
by nischal
Before that, how to add search filter in assignment resource
Re: Adding a new column to resource assignment popup.
Posted: Wed May 11, 2016 9:14 am
by mats
Look in the docs for Toolbar, TextField, and Store classes - it contains all knowledge needed.
http://docs.sencha.com/extjs/6.0/6.0.0-classic/
Re: Adding a new column to resource assignment popup.
Posted: Wed May 11, 2016 1:42 pm
by nischal
Can you tell, how to add search filter in resource assignment popup
Re: Adding a new column to resource assignment popup.
Posted: Thu May 12, 2016 7:01 am
by naveen
Ext.define('AssignmentGrid', {
extend: 'Gnt.widget.AssignmentGrid',
alias : 'myassignmentgrid',
items : {
xtype : 'gantt-filter-field',
dataIndex : "Search Assignee",
}
});
Ext.define('AssignmentField', {
alias : 'myresourceassignment',
extend : 'Gnt.field.Assignment',
expandPickerOnFocus : true,
createPicker: function() {
var grid = new AssignmentGrid(Ext.apply({
frame : true,
floating : true,
height : 200,
width : 300,
assignmentStore : assignmentStore,
// fbar : this.buildButtons()
}, this.gridConfig || {}));
return grid;
},
});
And in my ganttpanel i wrote
{
xtype : 'resourceassignmentcolumn',
editor : new AssignmentField(),
header : 'Person Assigned',
width : 250,
},
Re: Adding a new column to resource assignment popup.
Posted: Thu Jan 17, 2019 3:25 pm
by Fanny
Hello,
Do you have a sample with angular please?
I tried this sample but cannot do "new AssignmentGrid(Ext.apply({ ...."
thanks in advance
Re: Adding a new column to resource assignment popup.
Posted: Thu Jan 17, 2019 3:29 pm
by mats
Sorry, it's not clear what you're trying to do. Can you please start a new thread and describe your problem? Here's how you ask for help:
viewtopic.php?f=1&t=772