Skip to content

Instantly share code, notes, and snippets.

@josebalius
Created June 8, 2014 23:45
Show Gist options
  • Save josebalius/6414cc1a85ecdaa066ae to your computer and use it in GitHub Desktop.
Save josebalius/6414cc1a85ecdaa066ae to your computer and use it in GitHub Desktop.
ngReactGrid - Cell options
{
field: "", // prop key on the object, ie: {firstName: "John"}, your field would be "firstName"
displayName: "", // this is the label that the grid will display on the column headers,
render: function() {}, // use this function when you want a custom cell. It must return a string or React component
sort: true, // this controls whether the grid allows sorting on this cell or not, default is true, set to false to disable
width: "10%" // the default is 10%
}
@kashcode
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment