Our state of the art Gantt chart


Post by priya.yadav »

Hi,

I have to hide/remove few constraint types on the UI, commenting those types in the filter is not working.
Could you suggest me some other way do to it?

Post by priya.yadav »

Hi team,

please suggest the way to achieve this.

Post by pmiklashevich »

Hello,

Please override buildDefaultConstraintTypeList static method. For example:
Ext.define(null, {
    override : 'Gnt.field.ConstraintType',

    statics : {
        buildDefaultConstraintTypeList : function(noneText) {
            return Ext.Array.filter(this.callParent(arguments), function(item) {
                return item[0] == null || item[0] == 'assoonaspossible';
            });
        }
    }
});
Best,
Pavel

Pavlo Miklashevych
Sr. Frontend Developer


Post Reply