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?
Support Forum
Hello,
Please override buildDefaultConstraintTypeList static method. For example:
Best,
Pavel
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';
});
}
}
});
Pavel
Pavlo Miklashevych
Sr. Frontend Developer