Sherzod Posted November 22, 2020 Share Posted November 22, 2020 On 11/19/2020 at 11:11 AM, =GGG= said: Пожалуйста! Решите уже эту проблему Здравствуйте, Я не уверен, но возможно эта ошибка самой библиотеки ExtJS. Тогда попробуйте такое решение на данный момент: function afterrender(sender, eOpts) { var me=sender; if (me.editingPlugin.isRowEditor) { me.editingPlugin.editorCfg.listeners = { show: function() { if (me.getStore().count()<=2) { this.floatingButtons.setButtonPosition('bottom'); this.floatingButtons.setStyle('clip', null); } } }; }; } Quote Link to comment Share on other sites More sharing options...
MSMK Posted November 23, 2020 Share Posted November 23, 2020 23 hours ago, Sherzod said: Здравствуйте, Я не уверен, но возможно эта ошибка самой библиотеки ExtJS. Тогда попробуйте такое решение на данный момент: function afterrender(sender, eOpts) { var me=sender; if (me.editingPlugin.isRowEditor) { me.editingPlugin.editorCfg.listeners = { show: function() { if (me.getStore().count()<=2) { this.floatingButtons.setButtonPosition('bottom'); this.floatingButtons.setStyle('clip', null); } } }; }; } Спасибо! 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.