selvi jp

selvi jp

  • 1.8k
  • 314
  • 18.9k

how to get the all td data from tabel in react js

Jul 24 2021 2:22 AM

Here i can fetch first row only  .Bu there is 10 row. i want to fech all the td data to api

{GroupList.map(GroupLists=>

<tr>  

 <th className="invitetdc"><input type="checkbox"/></th>    <td className="invitetd" ><input type="text" name="name" defaultValue={GroupLists.Name} readonly="readonly" />

</td>

</tr> )}


Answers (1)