How to customize cell to show an arrow that inform if value is up or down respect last value?

Resolved

How to customize cell to show an arrow that inform if value is up or down respect last value?
Thanks

4 answers

WebDataRocks Team WebDataRocks May 6, 2019

Hi Biagio!
Thank you for posting your question.
 
Could you clarify for us, please, what do you mean by “the last value”? If we understand you correctly, do you want to change the content of the cell based on the difference in the previous and the current value?
One way to track the changes in the values is by using getData().
Also, you can find more information about customizing cells in the customizeCell article.
 
More details about your goals will help us to decide whether it’s possible to solve your task.
 
Best regards,
WebDataRocks Team

Biagio Paruolo May 7, 2019

Yes. I wish to show an arrow up, down near the value if this is major or minor respect the previous value.
How to?
thanks.

Biagio Paruolo May 13, 2019

Like “20 (icon Arrow Up) or “20 (icon Arrow Down)” respect last value of the same cell.

WebDataRocks Team WebDataRocks May 13, 2019

Hello Biagio,
Thank you for your feedback.
In such a case, customizeCell approach should work the best for you.
It allows manipulating the content of the cells before they are actually drawn.
Please refer to our docs for more information: https://www.webdatarocks.com/doc/customizecell/.
Regards,
WebDataRocks Team

Please login or Register to Submit Answer