Hi Formspider team,

I have the following issue: I have an editable grid with several fields. I edit the first field and tab to the second field and enter some text. Then, without navigationg out of the second field, i hit key F10. This key-event triggers a api_datasource.doCommit. The issue is, that the commit only commits the first field i edited. It ignores the second field. It looks like the data in the second field is not yet put in the datasource table, because i haven't navigated out of the field..

Is there a way to work around this issue?

Thanks, Michiel A.

asked 14 Feb '13, 08:14

Michiel%20A's gravatar image

Michiel A
5161749
accept rate: 13%


Hi Michiel,

Normally, this usage should not cause any problem. Can you post your grid XML please? On which object your key-event is defined (panel, grid, mainFrame or dialog)? The grid datasource has any event? Are you navigating between the fields of the same row or different rows?

Thanks in advance,
Ibrahim

link

answered 14 Feb '13, 09:34

Ibrahim%20Sandalli's gravatar image

Ibrahim Sand... ♦♦
1.5k5
accept rate: 25%

It was on the mainFrame. I will investigate with different trigger points and get back to you.

(14 Feb '13, 10:00) Michiel A

Hi Ibrahim,

I build a little case in my online account. I believe you can access it there. See the Regions application. Open the application. After opening you are in the name field. Clear the data there. Now do key down and clear the second record name as well. Now hit F10 key. It does a api_application.doCommit.
Now click the refresh button. You will notice that the cleared name of record 1 is not saved...

It is a bit different then i experience in my app, but it might indicate the same issue..

Best,Michiel

(14 Feb '13, 10:58) Michiel A

Hi Michiel,

Thank you for the sample application. It's a bug, I created a ticket in our issue management system about this case.

Regards,
Ibrahim

(14 Feb '13, 15:50) Ibrahim Sand... ♦♦

Hi Ibrahim,

OK, thanks. I will try to create a second sample app and try to duplicate the behaviour i experience in my application (edit data within the same row shows kindof the same issue). I might be the same bug, but i need to be sure.

This is a critical issue for me. You cant expect people to always press a click a button to save changes when they do a lot of data entry. I need the key-event to save changes.

Thanks, Michiel

(14 Feb '13, 16:11) Michiel A
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×6
×2

Asked: 14 Feb '13, 08:14

Seen: 863 times

Last updated: 14 Feb '13, 16:11


© Copyright Gerger 2017