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
»
onchange event for cell
« previous
next »
Print
Pages: [
1
]
Author
Topic: onchange event for cell (Read 2786 times)
mikep
Pro Ultimate
Full Member
Posts: 163
onchange event for cell
«
on:
May 14, 2020, 12:31:23 am »
How can I trigger an event when a user edits a cell value. For Example, when the user change the revenue cell, I want to set the profits column. I tried render, but that gets triggered too often.
https://jsfiddle.net/xhk6yzwd/
Logged
paramvir
Administrator
Hero Member
Posts: 6310
Re: onchange event for cell
«
Reply #1 on:
May 14, 2020, 09:25:04 am »
It seems you are trying to setup column dependencies, for which javascript formulas are the right fit.
https://paramquery.com/pro/demos/grid_formula
https://paramquery.com/pro/api#option-formulas
Logged
mikep
Pro Ultimate
Full Member
Posts: 163
Re: onchange event for cell
«
Reply #2 on:
September 20, 2021, 04:05:37 pm »
I need to update a column, whenever another column in the row changes value. However, the initial value of the column has its own dataIndx. Could this still be accomplished via formula?
Logged
paramvir
Administrator
Hero Member
Posts: 6310
Re: onchange event for cell
«
Reply #3 on:
September 20, 2021, 08:55:08 pm »
In that case change event can be used.
https://paramquery.com/pro/api#event-change
Logged
Print
Pages: [
1
]
« previous
next »
ParamQuery grid support forum
»
General Category
»
Help for ParamQuery Pro
»
onchange event for cell