Skip to content

Commit

Permalink
Update column metadata props data
Browse files Browse the repository at this point in the history
This will fix [#352] (#352).
  • Loading branch information
mihirsoni committed Mar 6, 2016
1 parent 610c0db commit 8a7fc3a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/griddle.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,8 @@ var Griddle = React.createClass({
},
componentWillReceiveProps: function(nextProps) {
this.setMaxPage(nextProps.results);

//This will updaet the column Metadata

This comment has been minimized.

Copy link
@mihirsoni

mihirsoni Jun 13, 2016

Author Contributor

@jliang-r7 Yup I could get that but it took so long to merge so I didn't update the MR. Waiting for 1.0

this.columnSettings.columnMetadata = nextProps.columnMetadata;
if(nextProps.results.length > 0)
{
var deepKeys = deep.keys(nextProps.results[0]);
Expand Down

0 comments on commit 8a7fc3a

Please sign in to comment.