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

Conditionnal formating #645

Open
amouss opened this issue Sep 27, 2019 · 0 comments
Open

Conditionnal formating #645

amouss opened this issue Sep 27, 2019 · 0 comments

Comments

@amouss
Copy link

amouss commented Sep 27, 2019

Hello,

i can't have a background color when i make a conditional_formatting on a text :

style_ok = wb.styles.add_style(:bg_color => "002760", :fg_color => "FF428751", :type => :dxf )
style_ko = wb.styles.add_style(:bg_color => "ffe699", :fg_color => "FF0000", :type => :dxf )

    sheet.add_conditional_formatting("A1:B2", { :type => :containsText, :operator => :equal, :text => "A", :dxfId => style_ok, :priority => 1 })
    sheet.add_conditional_formatting("A1:B2", { :type => :containsText, :operator => :equal, :text => "B", :dxfId => style_ko, :priority => 1 }) 

image

Do i something bad or is it an issue ?

Thanks for ur help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant