ParamQuery grid support forum
General Category => ParamQuery Pro Evaluation Support => Topic started by: jax on June 18, 2014, 09:18:06 am
-
How do you get the pq-cell-dirty class to be automatically assigned when you edit a cell? I see this class being assigned on the demos, but I have copied and pasted all of the javascript but still the class pq-cell-dirty does not get assigned. Then when I call the following below, isDirty is false even though I have edited one or more cells
var isDirty = $grid.pqGrid("isDirty");
if (isDirty) {
-
I found that recIndx needs to be set to the PrimaryKey value in order for IsDirty to work.