-
-
Notifications
You must be signed in to change notification settings - Fork 305
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support more data types in data grid #827
Comments
This comment was marked as resolved.
This comment was marked as resolved.
There are fields like action button, URL, image, video, but we can look into it when the need comes. |
I am including it in the next sprint. We can start with link, image column types. |
@prakhargupta1 I understand that these columns types are not natively supported by the MUI X Data Grid, correct? So if we implement these new column types they will be something that Toolpad is adding on top of the MUI X Data Grid, not a feature of the data grid itself. |
Found the same info here: https://mui.com/x/react-data-grid/column-definition/#column-types @joserodolfofreitas This issue is about supporting more column types like link, image and even a custom component in the data grid. Aren't these natively supported? |
Just to clarify: I can add all these column types to the grid on Toolpad if they're something we want, it shouldn't be that hard. |
We don't support those out-of-the-box, but you can create customizations. Generally speaking, a link, image or something alike would usually only have a different render, but would most likely operate as strings internally. |
I think this level of abstraction makes sense on toolpad, but I'm not so sure in the Data Grid because of the implications I mentioned above, but I'm curious to see how this custom columns get implemented. |
@apedroferreira fyi, we already have some customizations: https://github.com/mui/mui-toolpad/blob/920d5fb439cd5512d0414c65c27ee6016868b9f4/packages/toolpad-components/src/DataGrid.tsx#L134 |
Sounds good, will add on Toolpad. Just making sure! |
I'm adding number formatting in #1449 |
Duplicates
Latest version
Summary 💡
Our data grid (in Toolpad) currently supports 5 data types namely:
But Retool supports 20 data types, Appsmith supports 9.
We could add:
Examples 🌈
created_at column here is being read properly in Retool but not in ToolpadThe text was updated successfully, but these errors were encountered: