Sherzod Posted March 26, 2013 Share Posted March 26, 2013 How to remove only the refresh button in UniDBGrid? Quote Link to comment Share on other sites More sharing options...
patmap Posted March 26, 2013 Share 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 Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted March 26, 2013 Administrators Share Posted March 26, 2013 Another method: function OnAfterrender(sender) { sender.dockedItems.items[1].items.get('refresh').hide(); } 1 Quote Link to comment Share on other sites More sharing options...
Sherzod Posted March 26, 2013 Author Share Posted March 26, 2013 thanks patmap Quote Link to comment Share on other sites More sharing options...
Sherzod Posted March 26, 2013 Author Share 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 Link to comment Share on other sites More sharing options...
dindinudin Posted September 26, 2013 Share 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 Link to comment Share on other sites More sharing options...
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.