Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

188
Visualizações
Select the table rows on the basis of id from api not key

I'm new to antd and I'm stuck at one place in my project. I want to select the checkboxes of rows by based on the id from an api and the api has not the key how to solve it when i select one check box it is selectin all checkboxes in antd table.

 <Table
                        rowSelection={{
                            selectedRowKeys:list.map(item => item.key ),
                            type: selectionType,
                            ...rowSelection,
                            onSelect: (record) => {
                                slctdRws.push(record);
                                Setselectrow(slctdRws);




                            },
   this is one object of many from list  that I am getting from an API
 {
    "PatientName": "RONALDO Christiano",
    "NHI": "GHE9671",
    "DOB": "26-Jan-1992",
    "GenderCode": "M",
    "TxSite": "CMDHB",
    "TxLocation": "Ward-10C",
    "MedicationName": "foliNIc acid (15 mg/m<sup>2</sup>) 30 mg/m<sup>2 IV",
    "TreatmentDayMedicationID": "GcBYv2QSZ4T5/UdjgSXGqw==",
    "TxDay": "Day 4",
    "TreatmentDaysID": "VywrpIeblwxCR2zKASMLlQ==",
    "DoseDirection": null,
    "RequestStatusId": null,
    "Qty": "3",
    "RxStatus": "1",
    "ValidatedBy": "Naveed",
    "ClinicalDecision": false,
    "BookedDate": "2022-04-26T07:45:11.483",
    "DateRequired": "2022-04-26T07:45:11.483",
    "AccuracyCheck": false,
    "ReleasedAt": "2022-04-26T07:45:11.483",
    "IsOnStudy": false,
    "IsCTM": false,
    "IsCom": false,
    "LDO": true,
    "IsApproved": true,
    "IsQueried": false,
    "Dose": "30 mg/m<sup>2",
    "DoseUnit": "mg/m<sup>2</sup>",
    "Diluent": null,
    "Route": null,

}

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda