Closed brunoagretti closed 1 year ago
On attach, the addon attempts to add a new footer (event if the footer has already been attached). Since GridHelper doesn't support multiple footers, if fails with exception instead of duplicating the footer (which wouldn't be the expected behavior, either).
To reproduce the issue, add the following extracts of code onto a view containing a grid (in this case I was using Vaadin's starter project configured with a MasterDetails view). In MasterDetailsView:
When clicking the button, the reattachment works fine. However, if GridExporter is configured onto the grid in the following way:
Now, after calling
setupGridExporter()
and clicking the button, the Grid has layouting issues and the following exception is thrown: