Author Topic: dataIndx not able to read $ref  (Read 620 times)

tarunsharma

  • Newbie
  • *
  • Posts: 20
    • View Profile
dataIndx not able to read $ref
« on: April 20, 2022, 04:03:43 am »
I am trying to read the value from the object to show that on grid but it is not working. For example I need to show "Product Name" from the object called "Product" like this dataIndex: "Product.Name". What is happing it returns multiple records but showing the "Name" only for the first records and for other it is just setting the reference point to first record.
First record example:- Product { Name : XYZ}
Other records example:- Product { $ref: 1}

I am not able to use this reference. Can you guide me how i can use this $ref to show the Name on the grid.

Thank you.