ParamQuery grid support forum
General Category => Help for ParamQuery Pro => Topic started by: atmaneuler on November 05, 2020, 12:31:15 pm
-
Hi,
I want to change cell's style after changed value of that cell, but before I click the Update button on row.
Could paramquery do that?
How can I do that?
-
pq-cell-dirty css class is added to such a cell.
So you can add style through css
.pq-grid-cell.pq-cell-dirty{
color: red;
}
-
Thank you.
In that case, what if I want Color cell is Red if user update cell value is 'true', and Yellow if user update cell value is 'false'?
How can I do that?
-
.pq-row-edit > .pq-grid-cell
{
color:yellow;
}
.pq-row-edit > .pq-grid-cell.pq-cell-dirty
{
color:red;
}