We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0c8dc9d commit e7a4708Copy full SHA for e7a4708
views/view.php
@@ -27,9 +27,8 @@
27
</div>
28
<div class="<?= $widget->blockClass ?>" style="<?= $widget->blockStyle ?>">
29
<?php
30
- if ($widget->xls) {
31
- //echo Html::beginForm(['/export/csv'], 'post');
32
- echo Html::beginForm(['/export/xls'], 'post');
+ if ($widget->csv) {
+ echo Html::beginForm(['/export/csv'], 'post');
33
echo Html::hiddenInput('model', $widget->model);
34
echo Html::hiddenInput('searchAttributes', $widget->searchAttributes);
35
echo Html::hiddenInput('sort', $widget->sort);
0 commit comments