[x] I have searched for similar issues in both open and closed tickets and cannot find a duplicate.
[x] The issue still exists against the latest master branch of yii2-export.
[x] This is not an usage question. I confirm having gone through and read the documentation and demos.
[x] This is not a general programming / coding question. (Those should be directed to the webtips Q & A forum).
[ ] I have attempted to find the simplest possible steps to reproduce the issue.
[ ] I have included a failing test as a pull request (Optional).
Steps to reproduce the issue
Set true dynagrid option
Throw a "Undefined index: columns" exception. Because not init the widget.
My fast workaround is
Index: private/vendor/kartik-v/yii2-export/src/ExportMenu.php IDEA additional info: Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP <+>UTF-8
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.
Prerequisites
master
branch of yii2-export.Steps to reproduce the issue
Throw a "Undefined index: columns" exception. Because not init the widget. My fast workaround is
Index: private/vendor/kartik-v/yii2-export/src/ExportMenu.php IDEA additional info: Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP <+>UTF-8
--- private/vendor/kartik-v/yii2-export/src/ExportMenu.php (date 1600244230016) +++ private/vendor/kartik-v/yii2-export/src/ExportMenu.php (date 1600244230016) @@ -878,7 +878,7 @@ $options['gridOptions']['dataProvider'] = $this->dataProvider; $dynagrid = new DynaGrid($options);