0

Style

asked 2009-01-22 08:18:43 +0800

issamlaabidi gravatar image issamlaabidi
217 2

updated 2009-01-22 08:19:41 +0800

Hello,
i am using Listbox in wich i add new Listitem which contains a message at the first time the style of this this Listitem is like this: Listitem item = new Listitem();
item.setStyle("background-color: rgb(255, 250, 205)");

after that when calling an event i change the style of this Listitem (item .setStyle("");). the problem is that the style does not thange only if i reload the page or i press on other component. can some one help me so that at once i call the event the style changes. Thanks a loty.

delete flag offensive retag edit

1 Reply

Sort by ยป oldest newest

answered 2009-01-22 08:48:06 +0800

mjablonski gravatar image mjablonski
1284 3 5
http://www.jease.org/

updated 2009-01-22 08:49:05 +0800

Hi,

please try:

item.setStyle("background-color:");

HTH, Maik

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2009-01-22 08:18:43 +0800

Seen: 144 times

Last updated: Jan 22 '09

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