12-19-2011 08:56 AM
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
Solved! Go to Solution.
12-19-2011 10:04 AM - edited 12-19-2011 10:07 AM
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.
12-19-2011 11:58 AM
02-23-2012 12:20 PM
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