Clear out toolbar


/ Published in: JavaScript
Save to your folder(s)

Use in the ApplicationModule.js file.


Copy this code and paste it in your HTML
  1. //Clear out the toolbar on the right-hand side of the Account Detail view.
  2. //Change the entity name to fit your needs
  3. Ext.override(Mobile.SalesLogix.Account.Detail, {
  4. init: function() {
  5. Mobile.SalesLogix.Account.Detail.superclass.init.apply(this, arguments);
  6. this.tools.tbar = [];
  7. }
  8. });

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.