This forum is closed to new posts and responses. New discussions are now taking place in the IBM Developer Answers forum.



Mar 5, 2013, 5:09 PM
7 Posts

How to turn on links in view panel dynamically

  • Category: Server Side JavaScript
  • Platform: Windows
  • Release: 8.5.3
  • Role: Developer
  • Tags:
  • Replies: 0
 I am wanting to turn on/off links in a viewpanel dynamically when a user selects a value from a combo box.  I have tried the following code in the view column displayAs property to set the behavior.
 
 if (getComponent("siteList") != "Please Select") {

"link"

} else {

"text"

}

 
Once the user then selects the site I would like for the column to become links.  I have played with the partial refresh but couldn't get the viewpanel to change from text to links.
 
Any help for this newbe would be fantastic!!! 

This forum is closed to new posts and responses. New discussions are now taking place in the IBM Developer Answers forum.