How we can use setData in Groovy scripting
Summary:
I have to clear the cells which are edited in a data form using set data function
Content (required):
Version (include the version you are using, if applicable):
Code Snippet (add any code snippets that support your topic, if applicable):
This is the code, I'm trying to make 0 which cells are edited actually I've to make #MISSING but it's throwing an error. set data isn't working don't know where I'm wrong.
operation.grid.dataCellIterator.each{DataCell cell->
if(cell.edited==true){
cell.setData(0)
}
}
Any help would be appreciated.
Tagged:
0