Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bindColor cell example #51

Closed
albertotruccolo opened this issue Oct 23, 2019 · 2 comments
Closed

bindColor cell example #51

albertotruccolo opened this issue Oct 23, 2019 · 2 comments
Labels
P: High S: work in progress T: bug Functionality that does not work as intended/expected

Comments

@albertotruccolo
Copy link

good morning,
I have a question, the bindcolor on an excel template does not work, can I have working examples?

{d.to_pay} -> color cell 0000ff

i write {bindColor(0000ff, hexa) = d.color3} in another cell and my data json is:

data.total_pay = 5
data.color = '#FF0000';
data.color2 = '#00FF00';
data.color3 = '#0000FF';
data.color4 = 'red';

can you help me?

@steevepay
Copy link
Member

Hi @albertotruccolo,

Thanks for your question, your example is fine.
We have discovered an issue with the {bindColor()} marker.
For now, you can manage dynamic colors on ODT files.
We'll coming back to you and we will fix this issue maybe on the next release.
If you can't wait, feel free to fork the project and contribute :)

@steevepay steevepay added P: High S: on hold The issue is on hold until further notice T: bug Functionality that does not work as intended/expected labels Oct 28, 2019
@steevepay steevepay added S: work in progress and removed S: on hold The issue is on hold until further notice labels Nov 19, 2019
@steevepay steevepay added S: on hold The issue is on hold until further notice and removed S: work in progress labels Dec 9, 2019
@steevepay steevepay mentioned this issue Jan 21, 2020
21 tasks
@steevepay steevepay added S: work in progress and removed S: on hold The issue is on hold until further notice labels Aug 12, 2020
@steevepay
Copy link
Member

steevepay commented Nov 3, 2020

Quick update: the bindColor formatter can't work on a XLSX template until we rewrite the XLSX rendering.
For now, use only an ODS template then export it as an XLSX file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P: High S: work in progress T: bug Functionality that does not work as intended/expected
Projects
None yet
Development

No branches or pull requests

2 participants