How to activate different colours button into different condition in same row.

Comments

8 comments

  • Avatar
    Thomas Morin

    Hello,

    You should consult this article that explains how to use CSS conditional according to your data.

    Kind regards.

    Thomas

    0
    Comment actions Permalink
  • Avatar
    Randolph Abelardo

    Hi @Sathianarayanan Guandar Raju.

    I highly recommend reading our detailed article on buttonType to learn how to achieve your desired end-result.

    Note: I will re-tag your post under General Discussion.

    - Randy

    0
    Comment actions Permalink
  • Avatar
    Sathianarayanan Guandar Raju

    Hi,

    I tried to follow the articles and try to adjust according to mine, but still unable to work as I want.

    Must be something went wrong with my work here.

    Please help.

    Thanks a lot.

    0
    Comment actions Permalink
  • Avatar
    Randolph Abelardo

    Hi. 

    Currently, your Status column is set to 

    CategoryFilter - buttonType(Q)

    In the buttonType article I shared, it mentioned:

    You can also specify the color of the button in two ways :

    • (1) After the link column index, simply add the color (can be a hex code or a classic color like green, white or pink)

    • (2) If you want to have different buttons colors depending on the row, you can also reference the index of a column containing colors (hex code or classic colors).
      - That is, instead of hardcoding the color, you create a new column for the button colors, then specify the button-color column in the buttonType keyword (e.g. buttonType (A,B); where B is the column containing your unique button colors).

    Hope this helps.

    - Randy

    0
    Comment actions Permalink
  • Avatar
    Sathianarayanan Guandar Raju

    Hi Mr. Randy,

     Now I got your point and currently I am trying it, which is manually added unique-colors into another column.

    But, I have a request to automatically follows depending on the value.

    Because of, it is FORM submission data and after submission and edition, it is possible to change accordingly on dependents... Means, fix to particular colors whenever column content as below?

    'Pend Review' (#ff0000)

    'In progress' (#ffcc00)

    'Released' (#009900)

    'Closed' (#660066)

     

    Thank you very much

    0
    Comment actions Permalink
  • Avatar
    Randolph Abelardo

    You can add them manually, though it's gonna be tedious. 
    I suggest using either the Match() or VLookup() function to automate this part.
    Please note that this is beyond Awesome Table's scope of support so I suggest reaching out to the proper support channel for this.

    - Randy

    0
    Comment actions Permalink
  • Avatar
    Sathianarayanan Guandar Raju

    Acknowledged. Thank you so much for all your continues supports

    0
    Comment actions Permalink
  • Avatar
    Sathianarayanan Guandar Raju

    Solved.

    Thanks a lot, all...

    0
    Comment actions Permalink

Please sign in to leave a comment.