Skip to main content
December 21, 2022
Question

how to disable all the remaining checkboxes while we select one in editable grid?

  • December 21, 2022
  • 4 replies
  • 0 views

i have one field isprimary and am using it in editable grid so when i select any of the checkbox i want to disable all the remaining checkboxes

    4 replies

    harshj0001
    December 21, 2022

    Can you elaborate more, you question ?

    stewart.burchell
    December 21, 2022

    If you select one of the checkboxes and then immediately disable all of the others the only way the User can change their mind is to de-select the selected one and then select another option. That then leads me to think what you're really asking is how can we only restrict the selection to one option at a time? Would that be your actual requirement?

    komalj3844
    December 28, 2022

    please use {a!save(<name of cdt>.isprimary ,null),a!save(<name of cdt>[ri!index].isprimary ,ri!Index)} under your checkbox field

    harshitb6843
    December 29, 2022

    It is by default available.