ParamQuery grid support forum
General Category => Help for ParamQuery Pro => Topic started by: qbsoft on January 28, 2021, 05:58:28 pm
-
Hello
I have a question about the addRow method.
(https://user-images.githubusercontent.com/43057794/106138482-8ac0e300-61af-11eb-91e6-d565a3fe5ae8.png)
If you look at the attached screenshot, the first column (not the check box) is editable: undefined.
So it can't be modified.
What I want is that the first column can also be modified in the row created through the addRow method.
The other row should still be non-modifiable.
What should I do?
-
1. pass checkEditable: false to addRow method.
https://paramquery.com/pro/api#method-addRow
2. Conditional or specific cells editability can be defined by implementing editable callbacks.
https://paramquery.com/pro/api#option-editable
https://paramquery.com/pro/api#option-column-editable
-
Thank you. :)
I implemented what I wanted using 'editable callback function'.