Showing results for 
Search instead for 
Do you mean 
Community Home Request Access Read Blogs Share Your Ideas Search Community View My Settings
Reply
Highlighted
Bronze Super Contributor
Posts: 192
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

Highlighted
Gold Super Contributor
Posts: 3,087
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 +1 603.369.3047 x101

".. Innovators in Mobility - Experts in Workflow Automation..."
http://www.rjlSystems.net - blog: www.rjlSystems.net/blog.html
Highlighted
Bronze Super Contributor
Posts: 192
Registered: ‎07-17-2011

Re: Mobile - Hide insert button on List

Thanks RJ!
Highlighted
Nickel Elite Contributor
Posts: 107
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