Skip to content
This repository has been archived by the owner on Mar 31, 2022. It is now read-only.

PivotTableScreen should disable the export button if an unsupported renderer is selected #559

Closed
Flaurite opened this issue Jun 28, 2021 · 0 comments
Assignees
Labels
type: bug Something isn't working
Milestone

Comments

@Flaurite
Copy link
Contributor

Flaurite commented Jun 28, 2021

Description

If we open the PivotTableScreen via ShowPivotAction, the PivotTable contains all renderers, even those that are not supported by "export". For those renderers "export" throws an exception that is not user-friendly.
To avoid the default behavior we should override ShowPivotAction and provide supported renderers or even override a screen to provide custom logic.

Steps to reproduce

  1. See jmix-sampler: https://demo.jmix.io/sampler/#main/0/sample?id=pivottable-show-pivot-action
  2. Click on "Show pivot table"
  3. Select any chart renderer
  4. Try to export PivotTable

AR
Exception is thrown that renderer is not supported.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants