# Checkboxes in datagrids

**URL:** <https://forum.kirupa.com/t/checkboxes-in-datagrids/215695>\
**Category:** Uncategorized\
**Created:** [February 9, 2007, 2:15pm UTC](https://forum.kirupa.com/t/checkboxes-in-datagrids/215695 "2007-02-09T14:15:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![shax](https://avatars.discourse-cdn.com/v4/letter/s/f05b48/32.png) [@shax](https://forum.kirupa.com/u/shax)\
**Post date:** [February 9, 2007, 2:15pm UTC](https://forum.kirupa.com/t/checkboxes-in-datagrids/215695/1 "2007-02-09T14:15:45Z")

</div>

Hi, does anyone know how to check the value of a checkbox in a datagrid? i thought it was something like:

for (i = 0; i \< datagrid.length; i++){  
if (datagrid.getItemAt(i).Check){  
// do something.  
}  
}

is this not right?
