You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How we can use setData in Groovy scripting

Accepted answer
92
Views
6
Comments

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.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!