Dr. Evil Posted July 29, 2013 Posted July 29, 2013 Anyone know how I could use conditional formatting to format a column header when sorted by it's particular field? screen shot attached to illustrate what I'm trying to make happen. Â THANKS!!! Â
jbante Posted July 29, 2013 Posted July 29, 2013 Yes. In your sort script, set a global variable to contain the names of the field(s) you are sorting, then check that global variable in the conditional formatting calculations for the column labels. You can also create icons that indicate the direction of the sort by having two separate icons (button objects with an image background added) that conditionally format to be transparent when their field is not sorted in a particular direction. The Virtual Sort module includes examples of doing both.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now