Jump to content

UniDbGrid=>ClickstoEdit = 1 Düzenleme Modunda Nasıl Çalışır?


pro_imaj

Recommended Posts

Merhaba;

 

UniDbGrid=>ClickstoEdit = 1 olarak ayarladım.

 

Veri girişi yaptıktan sonra başka bir satıra geçtiğimde ikinci defa tıklayarak düzenleme moduna alabiliyorum tek click ile düzenleme moduna almanın bir yolu var mıdır.

 

Teşekkürler.

4af7e4905c.gif

Link to comment
Share on other sites

Hi,

 

One possible solution I think:

function selectionchange(sender, selected, eOpts)
{
    var me=sender.grid;
    
    Ext.defer( function() {
        if (me.editingPlugin && !me.editingPlugin.editing) {
            ed = me.getSelectionModel().getCurrentPosition();
            me.editingPlugin.startEdit(ed.row, ed.column)
        }
    }, 300);
}

Best regards,

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...