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 25, 2011, 12:26 PM
31 Posts

How to highlight selected/clicked document in view ?

  • Category: Styles and Themes
  • Platform: All
  • Release: 8.5.2
  • Role: Developer
  • Tags:
  • Replies: 1
Hi !
 
When I click on a document in a xpages view (column as link), I would like to highlight the font (bold etc).
This highlighting should only apply for the last clicked document.
I have an xpage with 2 columns. Left column is the view, and right column displays the document.

 I wish the xpages view component could have a documentSelectedClass property :-)
 
Has anyone done this before using CSS/javascript ?

Tips would be greatly appreciated !
 
regards,
Petter
Mar 25, 2011, 3:01 PM
33 Posts
Re: How to highlight selected/clicked document in view ?
Hi
 
Take a look at this link which looks at the idea of using CSS to change row colours and mouse-over events.
 
I'm not sure if this can be done with a standard view control so it would be worth looking at using a repeat control to do this with the CSS around a table.
 

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