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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I want to use search feature in Data grid pro #7812

Closed
2 tasks done
swathign-sbdinc opened this issue Feb 3, 2023 · 1 comment
Closed
2 tasks done

I want to use search feature in Data grid pro #7812

swathign-sbdinc opened this issue Feb 3, 2023 · 1 comment
Labels
component: data grid This is the name of the generic UI component, not the React module! feature: Filtering Related to the data grid Filtering feature support: question Community support but can be turned into an improvement

Comments

@swathign-sbdinc
Copy link

Duplicates

  • I have searched the existing issues

Latest version

  • I have tested the latest version

Steps to reproduce 🕹

Link to live example:

Steps:

  1. open https://codesandbox.io/s/3c0lnz?file=/demo.js:1301-1317
  2. observe user can able to search inside of the table
  3. the question is can we do the same in Data grid pro ?
  4. Please share a codesandbox it would help

Current behavior 😯

No documentation available

Expected behavior 🤔

It should search anything we type in data grid pro table

Context 🔦

No response

Your environment 🌎

npx @mui/envinfo
  Don't forget to mention which browser you used.
  Output from `npx @mui/envinfo` goes here.

Order ID 💳 (optional)

No response

@swathign-sbdinc swathign-sbdinc added the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Feb 3, 2023
@zannager zannager added the component: data grid This is the name of the generic UI component, not the React module! label Feb 3, 2023
@cherniavskii
Copy link
Member

Hi @swathign-sbdinc
All the features available in the Community plan are also available in the Pro plan.

open codesandbox.io/s/3c0lnz?file=/demo.js:1301-1317
observe user can able to search inside of the table
the question is can we do the same in Data grid pro ?

The only thing you have to do is to use @mui/x-data-grid-pro package instead of @mui/x-data-grid:

- import { DataGrid, GridToolbarQuickFilter, GridLinkOperator } from '@mui/x-data-grid';
+ import { DataGridPro, GridToolbarQuickFilter, GridLinkOperator } from '@mui/x-data-grid-pro';
// ...

- <DataGrid
+ <DataGridPro
    {...data}

@cherniavskii cherniavskii added support: question Community support but can be turned into an improvement feature: Filtering Related to the data grid Filtering feature and removed status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels Feb 3, 2023
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! feature: Filtering Related to the data grid Filtering feature support: question Community support but can be turned into an improvement
Projects
None yet
Development

No branches or pull requests

3 participants