Can not select checkboxes in grid

Hi guys,

I have a problem here. I have a grid with checkboxes. All checkboxes are made with Html::checkbox, etc. The grid looks fine. All checkboxes can be selected, etc. etc. So far so good.

Now I have a yii\grid\CheckboxColumn added in front of all the other columns. What I want now is that when I check one checkbox in the grid column is that all the checkboxes on the same row get checked. I can get the rows from the checkboxColumn that are checked. But I can not seem to get the checkboxes to get checked on the same row.

I think it has partly to do with the fact twitter bootstrap skins adds more stuff to make the checkbox look fancy. A checkbox is generated like this:

<div class="icheckbox_minimal" style="position: relative;" aria-checked="false" aria-disabled="false">

<input type="checkbox" value="1" name="create" id="create" style="position: absolute; opacity: 0;">

<ins class="iCheck-helper" style="position: absolute; top: 0%; left: 0%; display: block; width: 100%; height: 100%; margin: 0px; padding: 0px; background: none repeat scroll 0% 0% rgb(255, 255, 255); border: 0px none; opacity: 0;"></ins>


How can I get the checkbox checked and also have it look checked in the browser? The aria-checked="false" in the first div should be true. But I can not access the attribute using jQuery.

Anyone have any idea?