score:3

Accepted answer

Does valueGetter work for exports?

        {
            field: 'industry_type',
            headerName: 'Industry',
            renderCell: (params) => {
                const industry = params.row.industry_type;
                return (
                    <>
                        <p>{`${industry.code}- ${industry.value}`} </p>
                    </>
                );
            },
            valueGetter: (params) => `${params.row.industry_type.code}- ${params.row.industry_type.value}`,
        }

Related Query

More Query from same tag