Jump to content

Кнопки Confirm и Cancel во время редактирования UniDBGrid


x11

Recommended Posts

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);
                }
            }
        };
    };
}

 

Link to comment
Share on other sites

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);
                }
            }
        };
    };
}

 

Спасибо!

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...