Page 1 of 1

Background Color of Selected Row on Subform

Posted: Wed May 11, 2016 12:11 pm
by hanstel
How do you change the background color of selected subform row?

Re: Background Color of Selected Row on Subform

Posted: Thu May 12, 2016 8:34 am
by admin
hanstel,

The background color of a row only changes when the cursor hovers over it.

Steven

Re: Background Color of Selected Row on Subform

Posted: Thu May 12, 2016 9:52 am
by hanstel
Ok got it, but how do you change the background hover color, currently its almost unnoticeable light gray color.

Re: Background Color of Selected Row on Subform

Posted: Fri May 13, 2016 3:02 am
by admin
hanstel,

Its been hard coded, I felt any other color would get a bit ugly eg..
subform.png
If you really want to you can change certain forms by putting this in the Form's Javascript..

Code: Select all



            $("[id$='_nuRow'").hover(
                function (){
                    $('#' + this.id).css('background-color', 'grey');
                }, 
                function (){
                    $('#' + this.id).css('background-color', '');
                }
            );


Steven

Re: Background Color of Selected Row on Subform

Posted: Fri May 13, 2016 8:03 am
by hanstel
thanks a lot, consider this solved.

Re: Background Color of Selected Row on Subform

Posted: Wed May 18, 2016 8:04 am
by admin
.