- Home
- Forum
- Angular - EJ 2
- how to retrieve values from a combocox
how to retrieve values from a combocox
good morning, I would like to retrieve the values of a record from a comboxox. Not only value and text, but all the values of the datasource record expressing that combobox. i have tried with
args.itemData.(fieldname) but the result is undefined
all my test console.log return undefined
attach code
Could you help me, please ?
- itemData:
- abbreviation: null
- acquisitionDate: null
- address: null
- areaId: null
- areas: null
- assigneeId: null
- bancaRelazioneId: null
- bancaRelazioni: null
- bancaRiferimenti: null
- bancaRiferimentoId: null
- budgetCurrentYear: null
- budgetPreviousYear: null
- city: "Caiolo"
- clienteCentri: null
- clienteSedeId: null
- clienteSedi: null
- clientiCentroId: null
- clientiGruppi: {id: 1, code: 'Privati', description: 'Clienti Privati', image: null, icon: null, …}
- clientiGruppoId: 1
- coordinateId: null
- coordinates: null
- country: null
- creationById: null
- creationDate: null
- customerSectorId: null
- customerSectores: null
- customerTypeId: null
- customerTypes: null
- description: ""
- divisaId: null
- divise: null
- email: ""
- firstName: null
- groupId: null
- groups: null
- homePage: ""
- id: 5
- lastName: null
- limiteCredito: null
- mobile: null
- modifiedById: null
- modifiedDate: null
- name: "So.Ge. Sondrio Gestioni"
- note: ""
- pagamentoCondizione: null
- pagamentoCondizioneId: null
- pec: ""
- phone: null
- postalCode: null
- prezzoGruppi: null
- prezzoGruppoId: null
- prezzoTipi: null
- prezzoTipoId: null
- provincia: "SO"
- region: "Lombardia"
- ribassoGruppi: null
- ribassoGruppoId: null
- salesCurrentYear: null
- salesPreviousYear: null
- scontoEntro1: null
- scontoEntro2: null
- title: "Spettabile"
- userId: null
- users: null
- valutaData: null
Hi Francesco Pruneri,
We have diligently worked on creating a simple sample based on the provided information and successfully retrieved all corresponding fields of the selected item in the select or change event. However, regrettably, we were unable to reproduce any issues in the latest version. Please find the sample for your reference.
To expedite the resolution process and provide you with the most accurate assistance, could you please consider modifying the shared sample to align it more closely with your specific scenario? Additionally, it would greatly assist us if you could provide detailed steps to replicate the issue on our end.
Your cooperation in this matter is highly valued, and we are committed to ensuring a swift and effective resolution to any challenges you may be facing. Thank you for your time and collaboration.
Regards,
Priyanka K
- 1 Reply
- 2 Participants
-
FP Francesco Pruneri
- May 26, 2024 04:29 PM UTC
- May 27, 2024 11:02 AM UTC