unchanged value doesn't post

Questionsunchanged value doesn't post
Cederic Van Herreweghe asked 7 years ago

Hi,

when using cell edit I try to trigger an update statement.

When I change the value of the cell to another value the update runs fine.
When I let the value of the cell unchanged but just press enter, the update is not triggered.

Is there a way to accomplish this ?

Kind regards,

Cederic

3 Answers
Abu Ghufran answered 7 years ago

Hello,

If the data is unchanged, there seems to be nothing to update to database, as i feel it is working as expected.
Can you explain more if you are trying something else.

Thanks

Cederic Van Herreweghe answered 7 years ago

The editing of a cell (no matter if the value was changed or not) should trigger an update statement.
There is already correct values in my cells, but I forgot to trigger a series of calculations based on that value.
It would be quicker now to just select the cell and press enter to update all my records, instead of change first the value to something else and restore it to the original one.

Kind regards,

Cederic

Abu Ghufran answered 7 years ago

Unfortunately, It is not doable with way you are trying.
The javascript component is coded in such a way (to optimize the server round trips)

Alternate, you can put a space after each value, and trim in callback handler.

Your Answer

13 + 20 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?