Lena Posted May 6, 2015 Share Posted May 6, 2015 Hi. Two questions about Sort Menu in the picture. Thanks. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted May 6, 2015 Share Posted May 6, 2015 Hi! Try (one way of): UniDBGrid1 -> ClientEvents -> UniEvents -> beforeInit: //hide() or destroy() 1. function beforeInit(sender, config) { Ext.onReady(function () { sender.headerCt.getMenu().items.items[2].hide(); //separator sender.headerCt.getMenu().items.items[3].hide(); }); } 2. function beforeInit(sender, config) { Ext.onReady(function () { sender.headerCt.getMenu().items.items[3].menu.items.items[0].hide(); //ID }); } Best regards! Quote Link to comment Share on other sites More sharing options...
mehmet07 Posted May 6, 2015 Share Posted May 6, 2015 or for menu item hide, object inspector-->grid columns( tvcldbColumns[1] ) --> menu-->columnHideable-->false Quote Link to comment Share on other sites More sharing options...
Lena Posted May 6, 2015 Author Share Posted May 6, 2015 or for menu item hide, object inspector-->grid columns( tvcldbColumns[1] ) --> menu-->columnHideable-->false Thank you for your help. I try it but it does not work for me. UniDBGrid1 -> ClientEvents -> UniEvents -> beforeInit: Thank you very much! Now it works! Quote Link to comment Share on other sites More sharing options...
DEV_THS Posted April 4, 2019 Share Posted April 4, 2019 On 5/6/2015 at 8:25 AM, Sherzod said: Hi! Try (one way of): UniDBGrid1 -> ClientEvents -> UniEvents -> beforeInit: //hide() or destroy() 1. function beforeInit(sender, config) { Ext.onReady(function () { sender.headerCt.getMenu().items.items[2].hide(); //separator sender.headerCt.getMenu().items.items[3].hide(); }); } 2. function beforeInit(sender, config) { Ext.onReady(function () { sender.headerCt.getMenu().items.items[3].menu.items.items[0].hide(); //ID }); } Best regards! Sherzod, how are you? Could you help me on this? 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.