Skip to content

Instantly share code, notes, and snippets.

{
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%
cssClass: "" // css class that the grid will apply on the column headers
}