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

Certified Senior Developer

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

  Discussion posts and replies are publicly visible