File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -43,6 +43,7 @@ use kartik\grid\GridView;
4343 [
4444 'label' => 'Change Availability',
4545 'field' => 'available',
46+ 'buttonClass' => 'btn btn-primary',
4647 'items' => [
4748 1 => 'Yes',
4849 0 => 'No',
@@ -52,6 +53,7 @@ use kartik\grid\GridView;
5253 [
5354 'label' => 'Change International Shipping',
5455 'field' => 'intl_shipping',
56+ 'buttonClass' => 'btn btn-success',
5557 'items' => [
5658 1 => 'Yes',
5759 0 => 'No',
@@ -60,6 +62,7 @@ use kartik\grid\GridView;
6062 [
6163 'label' => 'Change Author',
6264 'field' => 'author_book',
65+ 'buttonClass' => 'btn btn-info',
6366 'buttonType' => BulkCheckboxColumn::BUTTON_TYPE_CUSTOM_JS,
6467 'customJs' => 'function(event, gridId, ids) { /* ... */ }',
6568 'buttonClass' => 'btn btn-primary',
You can’t perform that action at this time.
0 commit comments