Skip to content
Discussion options

You must be logged in to vote

Hi @Magic-wei,

This is expected behavior. Let me explain:

Calling the generic method grid.run_row_method will run basically arbitrary JavaScript methods on the client. In case of "setDataValue" this will modify the client state, without informing the server about what happened.

Calling ui.update will send the server state to the client. This is usually for updating the client after some change happened on the server. In your case you're reverting the change that happened on the client.

In order to modify row data, you should modify the grid options on the server and call update afterwards, like in this demo.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@Magic-wei
Comment options

Answer selected by Magic-wei
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants