AgGridReact not re-rendering on data change

Viewed 3099

I am passing rowData and columnDefs as props. Grid is loading properly. But, when the data is changed, Grid is not re-rendering. It is coming to the render of the parent component, and passed to AgGridReact. But, still not getting re-rendered.

Since it is a complete react application, I have added code in https://github.com/jintoppy/ag-grid-upgrade

Main code is given below.

<AgGridReact
        // properties
         columnDefs={this.state.columnDefs}
         rowData={this.props.data}

         // events
         onGridReady={this.onGridReady}>
</AgGridReact>
1 Answers
Related