Closed sincsc closed 7 years ago
Hello,how can I add or delete a row dynamically use Table with version 0.6,thanks very much!
use an array as data, then add or remove item from the array.
this.state = { data: [...] } ... <Table data={this.state.data} />
addRow (row) { this.setState({ data: this.state.data.push(row) }) }
Hello,how can I add or delete a row dynamically use Table with version 0.6,thanks very much!