Hi RK,
You can achieve your requirement as below
- Let us say the field "approved/not approved" status is available as a column "STATUS"
- Now, loop over each column and get the editor and set the read only field name to the column name "STATUS" by using method SET_READ_ONLY_FIELDNAME( 'STATUS' )
- As status column holds the approval state as true/false, it decides which row to be in editable/ non-editable
Hope this helps you.
Regards,
Rama