I am using Typescript.i have a requirment like in each row one checkbox is there. On select of checkbox i want the values of entire row(All fields).
For this i am following the below example.
In this they are getting the value of only one field that is val
getCheckedValues() {
return this.eventTypeChkBox.filter(obj => obj.checked).map(obj => obj.val);
}
I want to get the values of all the fields that is id and chkBoxImageUrl also.
Can anyone please help me how to do this.I am very new to Typescript.I am not getting exactly how to get this. Please help me.
Aucun commentaire:
Enregistrer un commentaire