Subfile rows and protected fields

Use this board to ask questions or have discussions with other Genie users.
Post Reply
rasaro
Profound User
Posts: 60
Joined: Tue Mar 17, 2015 12:48 pm
First Name: Rick
Last Name: Asaro
Company Name: MISD
Country: United States
Contact:

Subfile rows and protected fields

Post by rasaro »

We have some subfile screens that protect (block) input fields from being changed in certain conditions. In Genie, when you hover over rows where some fields are in protected mode the values in these fields are not shown, they disappear. Is there a way to prevent that from happening? Thanks.
Scott Klement
Experienced User
Posts: 2711
Joined: Wed Aug 01, 2012 8:58 am
First Name: Scott
Last Name: Klement
Company Name: Profound Logic
City: Milwaukee
State / Province: Wisconsin

Re: Subfile rows and protected fields

Post by Scott Klement »

I'm guessing that this is a color problem. If the background color and the font color are the same, the text will seem to "disappear". In other words, if you have black text on a black background, you can't see it... same with white on a white background, or any other color on a background of the same color, you can't see the text.

Is that what's happening here?

If so, I would suggest changing the colors. In the Genie administrator, there are settings for the colors used when you "hover" (or "highlight") a row. These are found in the "subfile settings" tab, near the bottom. This will change the colors for the entire skin:
genieadmin_highlightcolors.png
genieadmin_highlightcolors.png (16.96 KiB) Viewed 617 times
If you want to change it on one screen (instead of the whole skin) you can change it in the properties for a particular grid. There it's called "hover" color:
subfile_hovercolor.png
subfile_hovercolor.png (5.92 KiB) Viewed 617 times
The other possibility, of course, is that you can change the colors for protected fields (instead of the colors for the hover effect) This would be done by changing the appropriate classes in the CSS file for your skin. I don't know the specifics for that off the top of my head, but if this interests you, you can use the Genie designer to see which CSS classes are being assigned to the protected fields, and then add / change the code for the appropriate class in your CSS file. In order to give you the exact specifics for that, I'd probably need to get a copy of your Genie skin and a JSON screenshot of this screen -- but, please see if the changing the "hover" stuff, above, will work for you before we go to the extra work of figuring that out.
rasaro
Profound User
Posts: 60
Joined: Tue Mar 17, 2015 12:48 pm
First Name: Rick
Last Name: Asaro
Company Name: MISD
Country: United States
Contact:

Re: Subfile rows and protected fields

Post by rasaro »

Changing the Row Highlight Color and Font Color fixed this. Thanks Scott.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest