Nic
Nic

Reputation: 501

How can I access value of particular node

I have below function and I am getting values in row and I have printed values in console.log as per below.

this.lookup.select$.subscribe((row) => {
      console.log(row);
      this._lookupForm.patchValue({'selected': row});
    });

Please see attached screenshot for more details, I want to access particular value from this row data.

enter image description here

Upvotes: 0

Views: 56

Answers (1)

saeed shokoohi
saeed shokoohi

Reputation: 36

Row is a javascript object. you can access the property's value simply this way :

row['complianceEpiryDate']

Upvotes: 2

Related Questions