Revision history [back]

click to hide/show revision 1
initial version

asked 2021-03-08 20:56:23 +0800

sebyc gravatar image sebyc

Listbox change row background color

Hi, i have a listbox that display some rows. I want different background color for some rows, depending on some switchs. For example :

<listbox> ..... .... <template name="default" var="rata"> <listitem style="${vm.getRowBackColor(rata)}"> ...

where vm.getRowBackColor(rata) return the background color i want for that row.

It run very well under ZK 8.6.3 , but not in ZK 9.5.0.2.

Please, can you help me to fix that problem ? I want to upgrade ZK. Thank you in advance.

Listbox change row background color

Hi, i have a listbox listbox that display some rows. I want different background color for some rows, depending on some switchs. switches. For example :

<listbox>
.....
....
<template name="default" var="rata">
  <listitem style="${vm.getRowBackColor(rata)}">
...

...

where vm.getRowBackColor(rata) vm.getRowBackColor(rata) return the background color i want for that row.

It run very well under ZK 8.6.3 , but not in ZK 9.5.0.2.

Please, can you help me to fix that problem ? I want to upgrade ZK. Thank you in advance.

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More