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;
setProducts(updatedProducts);
}
Can you please provide me the solution or the migration document for datatables.