Datatable with Editable Drop Down - differing value and label values

UI Components for React
Post Reply
gmatthews
Posts: 1
Joined: 29 Apr 2019, 09:41

29 Apr 2019, 09:54

Hi

We are using Primereact 3.1.1 and I have a Drop Down as part of an editable Datatable.

I can get the control to display but I have differing value and label descriptions, i.e. the value of the drop down is an ID and the label is the actual text description - my issue is that the ID is being displayed in the grid cell and not the description.

In the documentation here: "https://www.primefaces.org/primereact/#/datatable/edit" the example given for the brands array is with value and label the same.

Does this functionality work with differing value and label values?

Thanks
Gary

Post Reply

Return to “PrimeReact”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest