how to change the background color of cell dynamically using customizeCell
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
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
"data" attributes please visit our documentation – http://www.flexmonster.com/api/customizecell/.
Let us know if it works for you.
I have try your suggestion and it did work! many thanks