• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

retain row highlighting after selecting a row in datatable

 
Ranch Hand
Posts: 59
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I use the below code to highlight a row on mouse over and reset it on mouse out.
Now, when I click on a row, a hidden button is clicked, but I also want the highlighting to remain on the clicked row.
If I comment the line where the hidden button is clicked, the highlighting is retained. But if it is uncommented, the highlighting disappears and focus moves to the top of the datatable.

What should I do?? Kindly help.

 
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I need to use onmouseover, onmouseout functions in jsf datatable. I wrote a code for identifying the rows like
tableObj.getElementsByTagName('tr'). But, it doesn't take the style sheet functions. Can you help me how to implement this?
 
Ravi Sankar
Ranch Hand
Posts: 49
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I need to implement onmouseover, onmouseout functions in jsf datatable. I wrote code for iterating the rows inside the datatable. But, it doesn't accept the stylesheet functions inside the script. Can you help me to solve this issue?
 
reply
    Bookmark Topic Watch Topic
  • New Topic