Need a special offer?Find out if your project fits.
+

Conditional formatting on table columns.

Answered
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.
Thanks,
Nivedita
 

4 answers

Public
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: https://jsfiddle.net/flexmonster/1hqnc8sk/.
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: https://jsfiddle.net/flexmonster/bbefo4z6/.
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

Public
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,
Milena

Public
Illia Yatsyshyn Illia Yatsyshyn Flexmonster June 9, 2021

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

Public
Nivedita June 14, 2021

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

Please login or Register to Submit Answer