NetTalk Central

Author Topic: Browse Row Color Change when Select Row  (Read 3856 times)

springguy

  • Full Member
  • ***
  • Posts: 195
    • View Profile
    • Email
Browse Row Color Change when Select Row
« on: June 29, 2017, 06:05:59 PM »
NT 9.21
I have a browse with a conditional CSS and that colors the row based on the condition and it works fine. 

But, when you click on the row, the color stays the same, thus the user doesn't get a visual clue as to what row is selected.  Is there a way to change the color when the row is selected? 

For example, if the row is colored a light green due to the conditional CSS, how to change it to a darker green when the user clicks on it so they have a visual indication of the currently selected row.
Mike Springer

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Browse Row Color Change when Select Row
« Reply #1 on: June 30, 2017, 06:16:53 AM »
Hi Mike,

This is possible, but quite difficult and would require a fair bit of javascript.

Therefor I recommend a work-around of sorts. If you add a small column to the front of the browse, which is not colored with css, and hence will show which record then that will server as a marker to the user.

cheers
Bruce

springguy

  • Full Member
  • ***
  • Posts: 195
    • View Profile
    • Email
Re: Browse Row Color Change when Select Row
« Reply #2 on: July 01, 2017, 04:40:25 AM »
Thanks Bruce!
Will do!
Mike