Jump to content

TUniDBGrid RowEditor how to prevent moving to another record


ikaurov

Recommended Posts

Hello,

question is how to prevent moving to another record when RowEditor in edit state?

 

Sencha controls it using "Ext.grid.plugin.RowEditing" property "clicksToMoveEditor".

How could I set this property runtime ?

 

Thanks in advance!

 

 

 

Link to comment
Share on other sites

Hi,

 

Also you can use this approach:

 

UniDBGrid -> ClientEvents -> ExtEvents -> function beforeedit:

function beforeedit(editor, context, eOpts)
{
    return !editor.editing;
}

BTW, which edition and build are you using?!

 

Best regards,

Link to comment
Share on other sites

My problem is that user start input data into record and input is lost when he click on another record.

 

Some kind of AutoPost for each field could be useful also.

 

 

 

Win8, Unigui v.0.99.96.1347

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