Get Free Trial

Conditional formatting on table columns.

Nivedita asked on May 11, 2021

Hi Team,
I am looking for a feature in the flexmonster table where in the column cell is formatted based on a text value. For more detail please refer to the file attached. Please let me know how can we achieve this.

4 answers

Milena Pechura Milena Pechura Flexmonster May 11, 2021

Hi, Nivedita,
Thank you for writing to us.
We noticed that there is no attached file, however, our team would like to suggest a solution for the request in your message.
To format the cells based on a text value, please use the customizeCell API call. Here is an example for illustration:
In the customizeCellFunction, we added a "highlight" CSS class for the cells with the text "Canada". Please refer to the CSS box to see how the class is specified.
Here is a similar example, but for the compact view:
Our team also suggests browsing this page for further examples.
Let us know if our answer was helpful.
We are looking forward to your response.
Best regards,

Milena Pechura Milena Pechura Flexmonster June 1, 2021

Hello, Nivedita,
How are you?
We were wondering whether our response was helpful.
Have you tried using the customizeCell API call to achieve the desired behavior?
Our team will be glad to hear your feedback.
Kind regards,

Illia Yatsyshyn Illia Yatsyshyn Flexmonster June 9, 2021

We are reaching out to ask if you had some time to test our solution.
Looking forward to hearing from you.

Nivedita June 14, 2021

Hello Team,
We were able to test your solution and implement it in our application.
Thanks for your quick support.

Please login or Register to Submit Answer