packages/ag-grid-docs/src/javascript-grid-cell-rendering-components/cell-renderer/main.js
/**
 * Updates the Days of Air Frost column - adjusts the value which in turn will demonstrate the Component refresh functionality
 * After a data update, cellRenderer Components.refresh method will be called to re-render the altered Cells
 */
Updates the Days of Air Frost column - adjusts the value which in turn will demonstrate the Component refresh functionality
After a data update, cellRenderer Components.refresh method will be called to re-render the altered Cells
Updates the Days of Air Frost column - adjusts the value which in turn will demonstrate the Component refresh functionality After a data update cellRenderer Components . refresh method will be called to re - render the altered Cells
function frostierYear(extraDaysFrost) {
    gridOptions.api.forEachNode(function(rowNode) {
        rowNode.setDataValue('Days of air frost (days)', rowNode.data['Days of air frost (days)'] + extraDaysFrost);
    })
}
function frostierYear ( extraDaysFrost ) { gridOptions . api . forEachNode ( function ( rowNode ) { rowNode . setDataValue ( 'Days of air frost (days)' , rowNode . data [ 'Days of air frost (days)' ] + extraDaysFrost ) ; } ) }
Updates the Days of Air Frost column - adjusts the value which in turn will demonstrate the Component refresh functionality
 After a data update, cellRenderer Components.refresh method will be called to re-render the altered Cells
Updates the Days of Air Frost column - adjusts the value which in turn will demonstrate the Component refresh functionality After a data update cellRenderer Components . refresh method will be called to re - render the altered Cells
// iterate over the rows and make each "days of air frost"