Sage SalesLogix
  • Contact Us
  • Sage North America
800-643-6400
Welcome Twitter Facebook LinkedIn
Community Home Blogs Share Ideas Search Request Access Resources
Reply
Copper Elite Contributor
nrice
Posts: 81
Registered: 07-17-2011
Accepted Solution

Mobile - Hide insert button on List

I am creating a very simple dashboard using List in the Mobile client.  I found hideSearch to not display the search option.

 

How do I hide the insert button that has the plus sign on it in the upper right hand corner?

 

Thanks!

 

Norman

Please use plain text.
Gold Super Contributor
RJLedger
Posts: 2,234
Registered: 03-19-2009

Re: Mobile - Hide insert button on List

[ Edited ]

I believe you will have to do an Ext.override(Mobile...... add an init function to zap the tools.tbar

 

init: function() {

 

this.tools.tbar = [];

 

When the dojo version is released (right now related to Sawgrass - 8.0) it will be completely different.

--
RJ Ledger - rjledger@rjlSystems.net

".. Stay Focused..."
http://www.rjlSystems.net - blog: www.rjlSystems.net/blog.html
Please use plain text.
Copper Elite Contributor
nrice
Posts: 81
Registered: 07-17-2011

Re: Mobile - Hide insert button on List

Thanks RJ!
Please use plain text.
Copper Elite Contributor
tdowning@solidconcepts.com
Posts: 63
Registered: 03-09-2011

Re: Mobile - Hide insert button on List

You can also use the javascript array handling methods
array.pop() removes the last item in a array
array.splice([StartingIndex], [How many to remove])

so

this.tools.tbar = []; //sets the tool bar array to an empty array
this.tools.tbar.pop(); //removes the last item from the array
this.tools.tbar.splice(2,1) //removes the 3rd item from the toolbar array assumingm you have more than 1 item in the array and you want to remove a specific toolbar itrem. Javascripot arrays are 0 based

Please use plain text.