Closed SeemaShettyVk closed 4 weeks ago
Hi,
How can I inherit GridColDef. Please help me fix this.
Below is my GridColDef :
Hey @SeemaShettyVk the correct way to use the sx
prop in the GridToolbarColumnsButton
component is this:
<GridToolbarColumnsButton slotProps={{ button: { sx: { margin: 2 } } }} />
How can I inherit GridColDef. Please help me fix this.
That would be this:
type CustomColDef = GridColDef & { customProp: string };
Do you have anything else you need some help with?
The issue has been inactive for 7 days and has been automatically closed.
Hi, I am trying to use sx in GridToolbarColumnsButton but I am not able to use sx directly with GridToolbarColumnsButton, so i tried slotProps but it's not working. Please help.
Search keywords:
Search keywords: