-
FEATURED COMPONENTS
First time here? Check out the FAQ!
Look at the following image
I just have the CSS to line through for the entire row based on same condition.
Here is the ZUL File
<template name="model" var="p1">
<listitem
sclass="@load(p1.active eq 0 ?'inactiveRecord':'')">
And here is the CSS
.inactiveRecord div.z-listcell-cnt {
text-decoration: line-through;
}
It is working fine with one small problem. If you look at the third column(NPI), actually there is no data for that record in the database. But due to CSS, it shows small hyphen which may confuse the end user.
Any solution to correct this ?
This is because listcell will fill if no value, probably you need to specify the sclass at listcell only if listcell has value.
Thank you benbai
Asked: 2013-05-02 19:43:21 +0800
Seen: 19 times
Last updated: Jun 28 '13