Question
Maantic Inc
Maantic Inc
US
Maantic Inc
Posted: Aug 29, 2016
Last activity: Sep 1, 2016
Last activity: 1 Sep 2016 10:37 EDT
Closed
Does pega has any OOTB to enable and disable group of checkboxes in repeating grid ?
Does pega has any OOTB to enable and disable group of checkboxes in repeating grid ?
Hi John,
Can you please mention PRPC version.
In checkbox control, try setting "Disable When condition" to achieve enable/disable feature.In group there is no option, individually we have to set .
Or If in Pega7 then use below steps:
1.Add below script in userworkform
<script>
function disableCheckbox()
{
$('.customChkBox').attr("disabled",true);
}
function enableCheckbox()
{
$('.customChkBox').attr("disabled",false);
}
</script>
2.Creat a cutom styleclass in skinrule with name "customChkBox".
3.Open checkbox control->presentationtab in configuration panel->use "customChkBox" as editable/readonly class in advanced configuration.
4.Based on requirement call enableCheckBox() or disableCheckBox() js function.
Hope this helps.