3

How do you change the font color in just one column of the attribute table included in QGIS's Composer? I would like to have the numbers listed in color red just for one column out of four columns in the attribute table.

I don't see any options to do this under Composer > Items> Item Properties> Attributes menu. (using QGIS version 2.8.2)

1 Answer 1

1

Don't think there's a single option to do this (yet) but an alternative would be to insert multiple attribute tables side-by-side by filtering out the columns for each one.

First add an attribute table and exclude all but one column.

Filter attributes

Add another attribute table, postition it next to the first table and exclude all but another column and so on. Then edit the font, styles, colours etc for each table:

4 separate tables side-by-side

Hope this helps!

2
  • Thank you, Joseph, for your creative suggestion. Hopefully the ability for doing changes per column-- such as the font's style, size, color, etc., will be made easier in future qgis versions. Commented Jun 10, 2015 at 20:32
  • @user1568777 - Most welcome buddy! I agree it's not the most ideal and quick solution but I suppose it can get the job done. You could open a ticket (feature request) describing this and hope it will be implemented in future QGIS versions =)
    – Joseph
    Commented Jun 11, 2015 at 8:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.