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
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
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
Hello,
We are reaching out to ask if you had some time to test our solution.
Looking forward to hearing from you.
Regards,
Illia
Hello Team,
We were able to test your solution and implement it in our application.
Thanks for your quick support.
Regards,
Nivedita