-
FEATURED COMPONENTS
First time here? Check out the FAQ!
1 | initial version | |
Hi,
I wanna change the list item style through sclass. My sample below doesn't work:
my custom css:
.list-video-seld tr.z-listitem-seld{background:#FFE58E;border:none;}
.list-video-over tr.z-listitem-over{background:#FAF5E3;}
and my java code. Notice I'm setting the sclass property in the ListItemRenderer:
private static class VideoListItemRenderer implements ListitemRenderer{
@Override
public void render(Listitem item, Object data) throws Exception {
.....
item.setSclass("list-video-seld list-video-over");
.....
}
}
What is wrong with my code?
Thanks,
Gyo