Created
June 8, 2014 23:45
-
-
Save josebalius/6414cc1a85ecdaa066ae to your computer and use it in GitHub Desktop.
ngReactGrid - Cell options
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
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% | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Please update from https://gist.github.com/turbosasa/36b7dabe802839ab0717#file-celloptions-js