ParamQuery grid support forum
General Category => Help for ParamQuery Pro => Topic started by: sshede on March 15, 2021, 12:52:07 pm
-
Hi
i am use Batch editing exmaple.
i edit cell in 1 and 2nd row.
but i want to 1 row comment.
-
Batch editing and comments work independent of each other and can be used together.
Please elaborate if you are facing any issue.
-
grid.commit({ type: 'update', rows: gridChangesTamp.updateList}); this is working
grid.commit({ type: 'update', rows: gridChangesTamp.updateList[1]});
but i trying 1 row comment but not working
-
This is used to commit all the updated rows:
grid.commit({
type: 'update',
rows: changes.updateList
})
This one is used to commit only one of the updated rows:
grid.commit({
type: 'update',
rows: [ changes.updateList[ indx of the row ] ]
})
----------------------------------
Cell comments have different API. Comments are added with grid.Range(range).val( comment value );
Example for dynamically adding comments: https://paramquery.com/pro/demos/comments