I have a working Yii2 application locally with GridView
but immediately I deployed it online, I started having issues with it. Below is the error and the code for the GridView
:
ReflectionException Class \kartik\grid\checkBoxColumn does not exist
View File
use kartik\grid\GridView;
<?= GridView::widget([
'dataProvider' => $dataProvider,
'filterModel' => $searchModel,
'options' => [
'class' => 'table table-responsive'
],
'columns' => [
['class' => 'kartik\grid\checkBoxColumn'],
[
'class' => 'kartik\grid\ActionColumn',
'header' => 'Actions',
'headerOptions' => ['width' => '40'],
'template' => '{view} {update}'
],
],
]); ?>
I have tried to upgrade the version of the Yii2 application but yet I am still getting the same issue meanwhile everything is working fine locally.