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

how to change the background color of cell dynamically using customizeCell

Resolved
yuyuyu asked on August 15, 2017

I want to change the background color of cell when the cell can be drilled up or down. After reading the document of customizeCell, it seems that i can do it by editing the attribute of style in cell object. But i don't know how and there is not a example. Cound you show me how? Thanks
Regards
Leon

2 answers

Public
Dmytro Zvazhii Dmytro Zvazhii Flexmonster August 15, 2017

Hello,
Thank you for your question. The tools of "customizeCell" in 2.3 version do not allow to solve your case. Fortunately, we have already released the new 2.4 major update. The "customizeCell" approach has been improved in the version 2.4. Now it has lager set of tools. Please try the following example:

http://jsfiddle.net/flexmonster/23x08u93/
For more information about the "cell" and "data" attributes please visit our documentation - http://www.flexmonster.com/api/customizecell/.
Let us know if it works for you.
Best regards,
Dmytro.

Public
yuyuyu August 16, 2017

Hi Dmytro
I have try your suggestion and it did work! many thanks
Regards
Leon
 

Please login or Register to Submit Answer