NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: springguy on June 29, 2017, 06:05:59 PM

Title: Browse Row Color Change when Select Row
Post by: springguy 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
Title: Re: Browse Row Color Change when Select Row
Post by: Bruce 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
Title: Re: Browse Row Color Change when Select Row
Post by: springguy on July 01, 2017, 04:40:25 AM
Thanks Bruce!
Will do!
Mike