Hello there !
I have two issues regarding Grid / Occurrences / Roster
1. i need to disable insert,delete,sort functionality of grid / roster ...i'll initialize the row labels from 1 to 12. ( 12 is for Others )
2. and how can i set the Nth let's say occurrence no 12 " Others " label field to update-able and from 1-11 protected.
how can i achieve this ?
Grid / Roster ... how to disable Insert occurrence /delete functionality
Re: Grid / Roster ... how to disable Insert occurrence /delete functionality
There is no way to disable the insert, delete, and sort functionality.
With regards to your second question you can use setproperty to toggle whether a field is protected. As you enter each occurrence toggle the protected mode as needed.
With regards to your second question you can use setproperty to toggle whether a field is protected. As you enter each occurrence toggle the protected mode as needed.
onfocus
if curocc() = 12 then
setproperty(FIELD,"Protected","No");
else
FIELD= 1;
setproperty(FIELD,"Protected","Yes");
endif;
if curocc() = 12 then
setproperty(FIELD,"Protected","No");
else
FIELD= 1;
setproperty(FIELD,"Protected","Yes");
endif;