Created
April 10, 2019 12:01
-
-
Save maxkoretskyi/01114eefc174ae5c457de3bad2f69eda to your computer and use it in GitHub Desktop.
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
<AgGridReact | |
// useful for accessing the component directly via ref | |
ref="agGrid" | |
// these are simple attributes, not bound to any state or prop | |
rowSelection="multiple" | |
// these are bound props, so can use anything in React state or props | |
columnDefs={this.props.columnDefs} | |
showToolPanel={this.state.showToolPanel} | |
// this is a callback | |
isScrollLag={this.myIsScrollLagFunction.bind(this)} | |
// these are registering event callbacks | |
onCellClicked={this.onCellClicked.bind(this)}" | |
onColumnResized={this.onColumnEvent.bind(this)}" | |
onGridReady={this.onGridReady.bind(this)}" // inside onGridReady, you receive the grid APIs if you want them | |
/> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment