loop every row and column
loop every row and column
![marcpirat](https://secure.gravatar.com/avatar/a935299844c31ef1eb01a4e7e028bb2e/?default=https%3A%2F%2Fvanillicon.com%2Fa935299844c31ef1eb01a4e7e028bb2e_200.png&rating=g&size=120)
hi
I need to create a json object of the content of the table. Need to take some data-field to put in the json object.
What happen if table is response? Could have a row who are splitted on two rows...
What should be the best way to do it?
thanks
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Hi @marcpirat ,
Probably the best way is to use
rows().every()
, as in this example on that page:If your case, the "do something" would be to add to that JSON object.
Cheers,
Colin