0

about the style

asked 2010-04-17 04:28:56 +0800

shenjie gravatar image shenjie
47 2

I want to set the style dynamically,use such sample code:

htmlBasedComponent.setStyle("border:3px outset blue;");
!
it works ok,but if I want to remove the style,how can I do,I found just invoke setStyle(null); doesn't work!

delete flag offensive retag edit

3 Replies

Sort by ยป oldest newest

answered 2010-04-17 09:50:45 +0800

jimmyshiau gravatar image jimmyshiau
4921 5
http://www.zkoss.org/ ZK Team

Hi shenjie
You can try setStyle("");

link publish delete flag offensive edit

answered 2010-04-17 20:52:44 +0800

shenjie gravatar image shenjie
47 2

Thank you very much for your replying,but it doesn't work too,my zk version is 3.6.1

link publish delete flag offensive edit

answered 2010-04-19 21:09:38 +0800

jimmyshiau gravatar image jimmyshiau
4921 5
http://www.zkoss.org/ ZK Team

Hi shenjie
Could you post your sample ?
and try to upgrade ZK to 3.6.4

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: 2010-04-17 04:28:56 +0800

Seen: 331 times

Last updated: Apr 19 '10

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