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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...