Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[data grid] [question] #6509

Closed
2 tasks done
rgavrilov opened this issue Oct 14, 2022 · 1 comment
Closed
2 tasks done

[data grid] [question] #6509

rgavrilov opened this issue Oct 14, 2022 · 1 comment
Labels
component: data grid This is the name of the generic UI component, not the React module! plan: Pro Impact at least one Pro user support: commercial Support request from paid users support: question Community support but can be turned into an improvement

Comments

@rgavrilov
Copy link

Order ID 馃挸

52426

Duplicates

  • I have searched the existing issues

Latest version

  • I have tested the latest version

The problem in depth 馃攳

Is there a way to provide custom column types?

I see columnTypes is one of the properties accepted by useDataGridProComponent but it doesn't look like it is intended to be used by meer mortals. Is it?

This is clarification on this issue: #242

I see that it is intentionally undocumented, but I would like to use it.

Your environment 馃寧

The question is about API, not sure env is relevant

`npx @mui/envinfo` ```

System:
OS: Windows 10 10.0.19044
CPU: (8) x64 11th Gen Intel(R) Core(TM) i7-11390H @ 3.40GHz
Memory: 35.44 GB / 63.74 GB
Binaries:
Node: 14.18.1 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.15 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
npm: 6.14.15 - C:\Program Files\nodejs\npm.CMD
Utilities:
Git: 2.36.1.
Virtualization:
Docker: 20.10.17 - C:\Program Files\Docker\Docker\resources\bin\docker.EXE
IDEs:
VSCode: 1.72.1 - C:\Users\Roman Gavrilov\AppData\Local\Programs\Microsoft VS Code\bin\code.CMD
Visual Studio: 17.3.32922.545 (Visual Studio Community 2022)
Browsers:
Edge: Spartan (44.19041.1266.0), Chromium (106.0.1370.42)
Internet Explorer: 11.0.19041.1566

</details>
@rgavrilov rgavrilov added status: waiting for maintainer These issues haven't been looked at yet by a maintainer support: commercial Support request from paid users labels Oct 14, 2022
@flaviendelangle flaviendelangle changed the title [question] [data grid] [question] Oct 17, 2022
@flaviendelangle flaviendelangle added the component: data grid This is the name of the generic UI component, not the React module! label Oct 17, 2022
@cherniavskii cherniavskii added the plan: Pro Impact at least one Pro user label Oct 17, 2022
@cherniavskii
Copy link
Member

Hey @rgavrilov
For custom columns please refer to https://mui.com/x/react-data-grid/column-definition/#custom-column-types
columnTypes indeed might be removed in the next major version.

@cherniavskii cherniavskii added support: question Community support but can be turned into an improvement and removed status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels Oct 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: data grid This is the name of the generic UI component, not the React module! plan: Pro Impact at least one Pro user support: commercial Support request from paid users support: question Community support but can be turned into an improvement
Projects
None yet
Development

No branches or pull requests

3 participants