problem in the comma in the add row

sir, I am having a problem in adding a new row. the text parameter int he addRow() method is delimited by commas. However, One of my entry contains a comma. I tried changing the ‘,’ into a ‘,’ or a ‘\,’ but it is still not working. What can I do regarding this problem?

addRow has alternative syntax, which can be used to resolve your issue

Instead of
you can use

As you can see, in second case usage of comma will not cause any problems.
( In common case problem can be resolved by grid.setDelimiter(… as well )