Comments (6)
Hey @michelengelen thanks for the answer. The answer is sufficient, this was one of the routes I planned to go but thought maybe there is a better way sense I want all the standar components but just want to catch the keyDown.
from mui-x.
Please provide a minimal reproduction test case with the latest version. This would help a lot 👷.
A live example would be perfect. This codesandbox.io template may be a good starting point. You can find more templates in our docs.
Thank you! 🙇🏼
from mui-x.
Hi @michelengelen, I'm looking for suggestions or guidance on implementing the onKeyDown functionality for filters and header filters within Material-UI's DataGridPremium. Do you have any thoughts on how this can be achieved?
from mui-x.
I am not sure if this is possible.
@MBilalShafi could you help out here?
from mui-x.
Hey @Myloc-KJN there is one way to do what you are trying to achieve: Render custom components for the filtering inputs.
We do have a section on custom header filter components, custom filter input and custom filter panel with examples.
With this you can easily catch key events on your own.
Would this be sufficient for your use case?
from mui-x.
In that case I will close this issue for now ... happy I could help!
If you have more questions feel free to reopen or open another issue.
Thanks 🙇🏼
from mui-x.
Related Issues (20)
- [data grid] Date selector in date column filter inconsistent with date picker component HOT 1
- [charts] Support `themeAugmentation`
- [data grid] Remove the unused legacy editing API event `rowEditCommit` HOT 1
- [pickers] Allow to refuse ranges that contains at least one disabled date HOT 4
- Move focus up after an edit when shift enter is pressed
- [pickers] Enhancing User Experience: Introducing Month and Year Selection in Date-Pickers HOT 5
- [TreeView][ESM] package exports are incorrect HOT 4
- Make Loading overlay states change based on data HOT 6
- [pickers] Ensuring Comprehensive Validation for Date and DateTime Range Fields HOT 2
- [charts] Axis min/max does not allow dynamic rescaling of the other Axis when that axis has no min/max set HOT 5
- [pickers] Ineffective Date and Time Validation Despite minTime, maxTime, and disableIgnoringDatePartForTimeValidation Settings HOT 1
- [data grid] Dynamic Aggregation Position HOT 7
- [How to get column widths exact on resize within detail panel based on Data Grid columns] HOT 2
- [data grid] Is it possible to have tree data row children open and under that details panel? HOT 9
- [data grid] Same column in different column groups HOT 8
- ThemeProvider not provide Translation keys. HOT 2
- [Data Grid Premium - Cell Copy and paste] Copied content from cell doesnt mantain the sorting set in the data premium grid HOT 3
- [data grid] Copy and Paste content from cell selection doesn't maintain the sorting set HOT 3
- [charts] labels are incorrect in RTL HOT 3
- [data grid] New DataGrid header style not properly passed to header HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mui-x.