# selection for checkbox in grid

**URL:** <https://www.dynamicsuser.net/t/selection-for-checkbox-in-grid/44993>\
**Category:** Developer Forum\
**Created:** [March 30, 2013, 9:13am UTC](https://www.dynamicsuser.net/t/selection-for-checkbox-in-grid/44993 "2013-03-30T09:13:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![vijayvh](https://avatars.discourse-cdn.com/v4/letter/v/7ab992/32.png) [@vijayvh](https://www.dynamicsuser.net/u/vijayvh)\
**Post date:** [March 30, 2013, 9:13am UTC](https://www.dynamicsuser.net/t/selection-for-checkbox-in-grid/44993/1 "2013-03-30T09:13:03Z")

</div>

Have added a NoYes enum checkbox field in the customer transactions grid. the grid can hold more than one record for one account num . i want to restrict the user to choose only one checkbox per account num, so that checking the box for an account num record will uncheck the box of any other record of the same account num.

I appreciate any solutions to this 🙂

thanks in advance !!

---

<div class="post-metadata">

**Author:** ![EnriqueKevin06](https://avatars.discourse-cdn.com/v4/letter/e/2acd7d/32.png) [@EnriqueKevin06](https://www.dynamicsuser.net/u/EnriqueKevin06)\
**Post date:** [March 30, 2013, 9:41am UTC](https://www.dynamicsuser.net/t/selection-for-checkbox-in-grid/44993/2 "2013-03-30T09:41:02Z")

</div>

Hi Vijay,

In ur datasource method - active method you can give validations like what are the fields need to checked or in your validate write method, based on the combinations of selection only allow the record to be saved else throw error saying the exact thing to be done.

---

<div class="post-metadata">

**Author:** ![vijayvh](https://avatars.discourse-cdn.com/v4/letter/v/7ab992/32.png) [@vijayvh](https://www.dynamicsuser.net/u/vijayvh)\
**Post date:** [March 31, 2013, 1:15pm UTC](https://www.dynamicsuser.net/t/selection-for-checkbox-in-grid/44993/3 "2013-03-31T13:15:56Z")

</div>

Thank you !!
