Sherzod Posted March 26, 2013 Posted March 26, 2013 How to remove only the refresh button in UniDBGrid? Quote
patmap Posted March 26, 2013 Posted March 26, 2013 Hi, Put this code on UniDBGrid->ClieantEvents->onAfterRender function OnAfterrender(sender) { var a = Ext.query("button[data-qtip=Refresh]"); for(var x=0;x < a.length;x++) { a[x].style.display="none"; } } Regards Quote
Administrators Farshad Mohajeri Posted March 26, 2013 Administrators Posted March 26, 2013 Another method: function OnAfterrender(sender) { sender.dockedItems.items[1].items.get('refresh').hide(); } 1 Quote
Sherzod Posted March 26, 2013 Author Posted March 26, 2013 Another method: function OnAfterrender(sender) { sender.dockedItems.items[1].items.get('refresh').hide(); } Thank you very much Farshad, your method is universal, since it is not associated with regional titles (eg Refresh - Обновить) Quote
dindinudin Posted September 26, 2013 Posted September 26, 2013 dear Farshad Mohajeri & Patmap what kind of script above ? how could i get help or reference about script above ? regards i am starting learning UniGUI , thank you Farshad for UniGUI 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.