Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- state: ComponentState = {
- dialogKey: 0
- }
- <DetailsList
- key={this.state.dialogKey}
- onActiveItemChanged={trainDialog => this.onOpenModel(item)}
- ...
- />
- onCloseModal() {
- this.setState({
- dialogKey: this.state.dialogKey+1
- })
- }
Add Comment
Please, Sign In to add comment