• Resolved davidpapenfus

    (@davidpapenfus)


    Hi Tobias

    Using TablePress, I would like to implement conditional formatting, so I can colour cells (or rows) based on the content of Country or Province columns.

    I’ve installed the Cell Highlighting extension, but struggling to follow the instructions on the FAQ: “How can I highlight certain cells or their content?” I can’t work out where “<span class=”hilite”>your important value</span>” goes.

    For my example, if Province is “Western Cape”, the cell should be highlighted in blue. What CSS & HTML should I put where?

    table id=2

    My client may change her mind, and request the whole row is coloured blue, so if you could help me with this aswell, that would be great.

    Thanks very much
    David

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    The FAQ entry has nothing to do with the Cell Highlighting Extension. That works more like the approach from https://www.ads-software.com/support/topic/highlight-a-row-based-on-value/ with different “Custom CSS”.

    Regards,
    Tobias

    rezadan

    (@rezadan)

    Hi Tobias,

    I have a column with dates; some are future dates while some are past dates. Would it be possible to conditionally reformat the cells whose date is less than today? For example, change the colour of the cell background for those whose content is less than today.

    Regards,
    Reza

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    thanks for your question, and sorry for the trouble.

    Sorry, I don’t know a direct solution for this at the moment. Your best chance would to be to develop a custom extension, e.g. based on the approach that I mentioned above.

    Regards,
    Tobias

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Conditional Formatting’ is closed to new replies.