Back to forum

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? To make the changes in cell values we suggest using customizeCell() API call.
 
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 api reference for more information: https://www.webdatarocks.com/api/customizecell/.
Regards,
WebDataRocks Team

Move up