How to get value of checked gridview column

Hi guys i have a gridview like below

and i want to get the user_id of the checked column

how can i do that???

I could easily get the checked column id but i dont know how to get data of those checked column in gridview

i want to get it via javascript so that i can pass it to service

<?= GridView::widget([

            'dataProvider' => $dataProvider,

            'filterModel' => $searchModel,


            'columns' => [

                ['class' => 'yii\grid\CheckboxColumn'],


                    'attribute' => 'event_id',

                    'label' => 'Event Title',

                    'value' => 'event.title'



                    'attribute' => 'user_id',

                    'label' => 'Email',

                    'value' => '',






and here is my javascript to get ids of checked column

jQuery(document).ready(function() {

    btnCheck  = $("#send"); {

        var keys = $("#w0").yiiGridView("getSelectedRows");