Ask for help related to our 2.x versions.

Post by nischal »

Before that, how to add search filter in assignment resource

Post 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/

Tired of debugging javascript errors in web applications? Try our powerful error logging service RootCause


Post by nischal »

Can you tell, how to add search filter in resource assignment popup

Post 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,

},

Post 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

Post 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

Tired of debugging javascript errors in web applications? Try our powerful error logging service RootCause


Post Reply