Good day
I created for my company the function of fill background a row in a window with different colors.
How add background in row?
How add background in cell?
Example SQL query:
- SELECT CASE WHEN '@DocStatus@' = 'NA' THEN '#ffcccc' WHEN '@DocStatus@' in ('AP', 'IP') THEN '#ebce83' WHEN '@DocStatus@' in ('VO', 'RE') THEN '#cccccc' WHEN '@DocStatus@' = 'DR' THEN '#ccccff' END - SELECT CASE WHEN '@IsVendor@' = 'true' THEN '#99ccff' END - SELECT CASE WHEN '@Name@' LIKE '%Store%' THEN 'rgb(255, 204, 204)' END
JIRA: https://idempiere.atlassian.net/browse/IDEMPIERE-3750
Best regards
Palich.ru Development Team
--
You received this message because you are subscribed to the Google Groups "iDempiere" group.
To unsubscribe from this group and stop receiving emails from it, send an email to idempiere+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/idempiere/4a0168ab-9e4b-4e33-b518-d6b5679eee55%40googlegroups.com.
inlineStyle apply to content (field).maybe add outterStyle and to apply to cell so we can adjust whole line
On Wed, Jul 18, 2018 at 10:07 PM, Marco Longo <longo....@gmail.com> wrote:
We use what is on core (CSS style) :-D
yellow = order draftgreen = order completedtext blue = order shipped (all)border red = invoice draftborder green =invoice completedborder blud = invoice paid (all)
All line colored on ad_tab ?.. why not but i don't like to many colors .I'm already happy with CSS style :-D
Marco
Il giorno mercoledì 18 luglio 2018 16:41:27 UTC+2, Nicolas Micoud ha scritto:Hi,
Just my 2 cents, but what the difference with CSS Styles (http://wiki.idempiere.org/en/NF4.1_Styles_On_Fields) ?
For the "Fill entire line", perhaps the CSS style field could be added on AD_Tab ?
Regards,
Nicolas
Le mercredi 18 juillet 2018 10:38:42 UTC+2, Oleg Oraskin a écrit :Good afternoon, wonderful addition, we would be glad to use it in our project
--
--
Lê Quý Hiệp
Email: hie...@hasuvimex.vn
Skype: admin.hasuvimex
Company: Thanh Hoa Fishery Import - Export J.s.c (Hasuvimex) DL 47
Add: Lot E, Le Mon Industrial Zone, Thanh Hoa, Vietnam
--