Get Free Trial

how to change the background color of cell dynamically using customizeCell

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

2 answers

Dmytro Zvazhii Dmytro Zvazhii Flexmonster August 15, 2017

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:
For more information about the "cell" and "data" attributes please visit our documentation –
Let us know if it works for you.
Best regards,

yuyuyu August 16, 2017

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

Please login or Register to Submit Answer