Prime react Datatable edit field issue

UI Components for React
Post Reply
Posts: 6
Joined: 20 May 2022, 18:07

06 Jul 2022, 13:12

Hi Team,

We are updated the code from primereact 6.5.1to 7.2 version, we are facing an issue in the Datatable edit field is not working.

Code: Select all

const onEditorValueChange = (props, value) => {
    let updatedProducts = [...props.value];
    updatedProducts[props.rowIndex][props.field] = value;
The above code is working fine before updating the code base but after updating the above code is not working, we observe props.value contains edit field value but earlier props.value contains the list of objects. if we change the value from props.value to props.props.value value is updating but field value is not updating. so many code changes are required to fix the issue.

Can you please provide me the solution or the migration document for datatables.

Post Reply

Return to “PrimeReact”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 3 guests