kartik-v / yii2-builder

Build forms (single or tabular) easily for Yii Framework 2.0.
http://demos.krajee.com/builder
Other
100 stars 50 forks source link

Tabular form - No buttons to export #125

Closed SkyTaurus closed 5 years ago

SkyTaurus commented 7 years ago

my code ` echo TabularForm::widget([ 'dataProvider'=>$dataProvider, 'form'=>$form, 'attributes'=>getformAttribs(), 'checkboxColumn' => false, 'gridSettings'=>[ // 'pjax' =>true, 'filterPosition'=>GridView::FILTER_POS_BODY, 'floatHeader'=>true, 'bordered'=>true, 'striped'=>true, 'condensed'=>true, 'responsive'=>true, 'hover'=>true, 'floatHeaderOptions'=>[ //'top'=>'250', 'position'=>'fixed', 'debug'=>'true', ], 'panel'=>[ 'heading' => '

Учет рабочего времени за '.$date.'

', 'type' => GridView::TYPE_PRIMARY, ], 'toolbar'=> [ ['content'=> Html::button('', ['type'=>'button', 'title'=>Yii::t('kvgrid', 'Add Book'), 'class'=>'btn btn-success', 'onclick'=>'alert("This will launch the book creation form.\n\nDisabled for this demo!");']) . ' '. Html::a('', ['grid-demo'], ['data-pjax'=>0, 'class'=>'btn btn-default', 'title'=>Yii::t('kvgrid', 'Reset Grid')]) ], '{export}', '{toggleData}'

    ],
// set export properties
    'export'=>[
        'fontAwesome'=>true
    ],
],
'actionColumn'=>[
    'class' => 'kartik\grid\ActionColumn',
    'dropdown' => false,   

],

]);

`Only buttons for adding and reseting are displayed my composer: "yiisoft/yii2": "@dev", "yiisoft/yii2-bootstrap": "~2.0.0", "yiisoft/yii2-swiftmailer": "~2.0.0", "kartik-v/yii2-widgets": "", "maksyutin/yii2-dual-list-box": "dev-master", "kartik-v/yii2-grid": "@dev", "kartik-v/yii2-builder": "1.6.2", "kartik-v/yii2-editable": "", "kartik-v/yii2-date-range": "dev-master", "kartik-v/yii2-detail-view": "", "kartik-v/yii2-krajee-base": "", "kartik-v/yii2-widget-select2": "@dev", "kartik-v/yii2-dialog": "*", "kartik-v/yii2-export": "@dev",

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.