Change Cell color when value update without destroying table
Change Cell color when value update without destroying table
 Uzairkhan92            
            
                Posts: 36Questions: 10Answers: 0
Uzairkhan92            
            
                Posts: 36Questions: 10Answers: 0            
            
            
                            
                                  in General             
        Hi,
I want to update the cell background color when the value change runtime in Datatable.
Below is an example of my desired requirement.
https://www.tradingview.com/widget/forex-cross-rates/
https://www.investing.com/webmaster-tools/live-currency-cross-rates
Above URL for example
Kindly let me know the solution asap.
This discussion has been closed.
            
Answers
You can use
rowCallbackto update the colors each time the table is drawn.Kevin
Can you please send me an example or demo?
This example uses
createdRow. You can do the same withrowCallback. You will wantrowCallbackif you data can change.Kevin