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

Make cells readonly for specified data range

edited Sep 11, 2024 9:30AM in Planning 4 comments

Hello all,

For a program we enter start date (01-02-2025)-dd-mm-yyy and End date (31-12-2025), From this range feb 2025 to dec 2025 the cells has to be editable remaining months has to be read only.

I have entered dummy data on flag for the above range using that flag i'm trying to make read only which isn't working.

Here is my code:

def Trend1 = []
def Trend2=[]
operation.grid.dataCellIterator("Payment Terms","BegBalance").each {DataCell cell->
Trend1<<cell.getMemberName("Program");
Trend2<<cell.getData();
} println("Trend: "+Trend1);
println("Data: "+Trend2); println(Trend1.size());
println(Trend2.size()); if (Trend1.size() == Trend2.size()) {

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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