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> )}