Hello,
How to hide create button in list- small view?
Please help.
Thanks,
How to hide create button in list- small view?
Please help.
Thanks,
Espo.define('custom:views/claims/record/list', 'views/record/list', function (Dep) { return Dep.extend({ rowActionsView: 'custom:views/claims/record/row-actions/default', actionFileManager : function (data) { this.showModal(data); }, showModal: function(data){ var contactName = data.name || 'Contact Name'; this.createView('showFileManager', 'custom:views/contact/modals/filemanager', { scope: this.scope, createButton: false, data: { contactName: contactName, claimLastSNN: data.claimlastsnn, claimNumber: data.claimnumber } }, function (view) { view.render(); view.notify(false); //view.close(); }.bind(this)); } }); });
Comment