This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal



Mar 5, 2013, 10: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. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal