Comments (4)
Please provide a minimal reproduction test case with the latest version. This would help a lot 👷.
A live example would be perfect. You can find a examples and guides on how to find templates in our docs with which you can provide examples for your specific use-case: Support - Bug reproduction.
Thank you! 🙇🏼
from mui-x.
I guess i have solved this via this code:
const handleFileChange = (event, params, field) => {
event.persist();
const file = event.target.files[0];
console.log('File changed:', file);
params.api.updateRows([{ id: params.id, [field]: file }]);
};
{
field: 'datasheet',
headerName: 'Datasheet',
width: 150,
headerAlign: 'center',
renderCell: (params) => {
return (
<input
type="file"
onChange={(event) => handleFileChange(event, params, 'Datasheet')}
name="Datasheet"
accept=".pdf, .doc, .docx, .xls, .xlsx, .csv"
required
/>
);
},
},
now when i upload the file in cell i can see that row is being updated. Previously the value i see related to datasheet column was this -> "" now i can see the file related properties.
from mui-x.
Great! Is this resolved for you now?
from mui-x.
I guess it is resolved. However can i ask something related to pagination?
I know that in MIT version one page can hold at most 100 rows. How about when it comes to number of pages? Can i have unlimited number of pages in my mui x datagrid?
from mui-x.
Related Issues (20)
- Inline CSS Issue HOT 5
- [question] DateRangePicker readonly only for one of the two fields HOT 3
- [pickers] How to migrate custom DateRangePicker from v5 to v6? HOT 5
- [pickers] Reference Date does not set the right day HOT 4
- Add a Color Picker component HOT 1
- [pickers] Date Picker Size HOT 2
- [data grid] Rename gridClasses to dataGridClasses HOT 3
- [pickers] popup jumps to the top left after selection if custom TextField slot is given HOT 3
- [support] What is the latest version I should be able to access with my license? HOT 2
- [question] [DataGrid] updateRows method changing order of Rows HOT 2
- [data grid] Date selector in date column filter inconsistent with date picker component HOT 4
- [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 5
- 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
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.