FlowingCode / GridExporterAddon

Other
10 stars 8 forks source link

respect conditional formatting in excel export #78

Closed sischi closed 1 year ago

sischi commented 1 year ago

Hi there,

another small improvement for the excel export. This one respects the conditional formatting that you can set in excel.

Here we calculate the cell range of the generated data (those cells that replace the ${data} placeholder) to apply all conditional formattings set in the target sheet of the template to this range.

I added some conditional formattings to the custom-template.xlsx to present some examples in the demo.

Hope to see this extension in any future release, too.

Best regards

sonarcloud[bot] commented 1 year ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

javier-godoy commented 1 year ago

Thanks for your contribution. Both PRs have been merged to 2.1.0-SNAPSHOT, which is available from our snapshot repository. The online demo is available at https://addonsv24-staging.flowingcode.com/gridexporter/hierarchical (Note that version 2 of the add-on requires Vaadin 24).

The snapshot repository is:

        <repository>
            <id>flowing-snapshots</id>
            <url>https://maven.flowingcode.com/snapshots</url>
        </repository>

We'll release it soon after addressing some other outstanding issues.

sischi commented 1 year ago

Good to see, that my extensions are already merged. We will use the snapshot builds until a new version will be released.

Thanks for the quick review!