Announcement

Migration of this forum

Dear users of this forum,

we are pleased to inform you that we will be updating the software behind this forum in the near future.

Existing posts, users and categories will remain untouched.

Important:

  • Each user will need to reset their password.
  • Please select "I forgot my password".
  • Enter the email address you used to register in this forum.
  • You will receive an email with a link to set a new password.
  • Please choose a new (secure) password and confirm the process.

We will keep you informed in the pinned thread.

Kind regards,
Your ReportServer Team


Migration des Forums

Liebe Nutzer dieses Forums,

wir freuen uns, euch mitteilen zu können, dass wir in naher Zukunft die Software hinter diesem Forum aktualisieren werden.

Existierende Beiträge, Nutzer und Kategorien bleiben weiterhin bestehen!

Wichtig:

  • Jeder Nutzer muss sein Passwort neu vergeben.
  • Wählt dazu einfach "Ich habe mein Passwort vergessen".
  • Gebt die E-Mail-Adresse ein, mit der ihr registriert seid.
  • Ihr erhaltet eine E-Mail mit einem Link zur Passwortvergabe.
  • Bitte wählt ein neues (sicheres) Passwort und bestätigt den Vorgang.

Wir halten euch im angepinnten Beitrag auf dem Laufenden!

Mit vielen Grüßen
Euer ReportServer Team

#1 2024-11-21 23:41:12

zitot
Member
Registered: 2024-10-12

Conditional Formatting on JXLS template duplicating rules forEach row

I applied a single conditional formatting rule to a column in my JXLS excel template.

After running the report, it duplicated the rule 1400 times.

Is it possible to use conditional formatting such that it doesn't duplicate? Is there a parameter I can pass to the JXLS engine to tell it "no duplicating conditional formatting rules"?

Alternately, if you know of a way to include desired styling as part of the data or row, I could try that.

e.g. if i could say, make a column called STYLE and put in "fillColor='red';textColor='white'" and have jxls read it as row.STYLE and apply that, i would love that.This question is more about whether JXLS supports, so I'll go post over there too

(note: I already used jx:each with jx:if to send the desired row either to second row or third row, but jx:if does not support if-elseif, so i am limited to 2 unique rows as result of if-else (that is, jx:if(condition="row.FOO == 'T'", areas=["A2:B2", "A3:B3"]) as far as I can tell)

Last edited by zitot (2024-11-22 00:07:58)

Offline

Board footer

Powered by FluxBB