Skip to content

Commit 7a0b019

Browse files
authored
Update README.md
Added new params
1 parent baab68d commit 7a0b019

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff 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',

0 commit comments

Comments
 (0)