ParamQuery Grid
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Search
Login
Register
ParamQuery grid support forum
»
General Category
»
Help for ParamQuery Pro
»
How can I invalidate a row update?
« previous
next »
Print
Pages: [
1
]
Author
Topic: How can I invalidate a row update? (Read 2283 times)
jeremy
Pro Deluxe
Newbie
Posts: 14
How can I invalidate a row update?
«
on:
September 23, 2016, 10:50:08 pm »
I'm adding a row to my table remotely but lets say it fails validation or some other check and I'm doing a delete/update/create operation. How can I instruct the grid NOT to show the row as modified.
«
Last Edit: September 23, 2016, 11:07:15 pm by jeremy
»
Logged
jeremy
Pro Deluxe
Newbie
Posts: 14
Re: How can I invalidate a row update?
«
Reply #1 on:
September 23, 2016, 11:09:20 pm »
Only way I can think of is with refreshDataAndView but the row is deleted then added back in with the refresh.
Logged
paramvir
Administrator
Hero Member
Posts: 6310
Re: How can I invalidate a row update?
«
Reply #2 on:
September 23, 2016, 11:36:25 pm »
If validation fails locally, grid won't allow that value.
If something fails on the remote server, you can rollback.
http://paramquery.com/pro/api#method-rollback
«
Last Edit: September 23, 2016, 11:38:17 pm by paramquery
»
Logged
Print
Pages: [
1
]
« previous
next »
ParamQuery grid support forum
»
General Category
»
Help for ParamQuery Pro
»
How can I invalidate a row update?