CSS odd/even

Forum to discuss the new web client version of Servoy.

CSS odd/even

Postby marco.rossi » Fri Jul 13, 2018 10:26 am

Hi,
after crushing my head trying to make this css work:

Code: Select all
.svy-form .ui-grid-row:nth-child(odd) .ui-grid-cell {
   background-color: #ffffff;
}

.svy-form .ui-grid-row:nth-child(even) .ui-grid-cell {
   background-color: Silver;
}


I discovered that the only way to get it working is to use "labels" instead of "text_fields".

Is this the only way to work on the NGClient to get odd/even row color effect?
Have I to substitute all my text fields within the whole solution with labels?
Marco Rossi
Senior Analyst Developer
Freelance Consultant

IT Manager @Mantho
Webmaster @Sitoliquido
marco.rossi
 
Posts: 47
Joined: Sun Apr 12, 2015 9:33 pm

Return to Servoy NGClient

Who is online

Users browsing this forum: No registered users and 0 guests