Advertisement
Guest User

Untitled

a guest
Mar 20th, 2019
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. <tr key={key}>
  2. <td align="center"> <input type="checkbox" name="myTextEditBox" value="checked" /></td>
  3. <td>{item.technology}</td>
  4. </td>
  5.  
  6. handleCheckBox = () => {
  7. console.log("callling the handle change");
  8. this.setState({
  9. isCheckd: !this.state.isCheckd
  10. })
  11. }
  12.  
  13. constructure(props) {
  14.  
  15. this.state = { isCheckd: false }
  16.  
  17. <td className="text-right mr-1"><input type="checkbox" checked={this.state.isCheckd} onChange={this.handleCheckBox} /></td>
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement