kartik-v / yii2-export

A library to export server/db data in various formats (e.g. excel, html, pdf, csv etc.)
http://demos.krajee.com/export
Other
165 stars 126 forks source link

The problem with using this widget with dynagrid option set to true #349

Closed Sereja3578 closed 3 years ago

Sereja3578 commented 3 years ago

Prerequisites

Steps to reproduce the issue

  1. Define an export menu and assign it to a variable
  2. In export menu widget we need to set 'dynagrid' => true
  3. Use the export menu variable in a DynaGrid

Expected behavior and actual behavior

When I follow those steps, I see... An error stating that columns index is not defined - Undefined index: columns in /app/vendor/kartik-v/yii2-dynagrid/src/DynaGrid.php : 499

I was expecting... A ExportMenu with DynaGrid columns by default.

Browsers

Operating System

Isolating the problem

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/97907079-the-problem-with-using-this-widget-with-dynagrid-option-set-to-true?utm_campaign=plugin&utm_content=tracker%2F7668315&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F7668315&utm_medium=issues&utm_source=github).
Sereja3578 commented 3 years ago

Hello)

stale[bot] commented 3 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.

Sereja3578 commented 2 years ago

The issue is not fixed yet, so need to reopen this ticket.