Comments (6)
Thank you. This seems to be working as I expect. I'll give it a try in my real data next week to be sure but I think that this puts me on the correct path.
from mui-x.
Since the data in the example is not coming from a server, showing loading doesn't make much sense, when you have some actual server binded to the data, you might have some loading state binded with the fetch function, you can pass it to the loading prop of the Grid.
<DataGrid
loading={dataLoading}
{...otherProps}
/>
I've updated the example to add a 3 seconds delay on mount to simulate network latency: https://codesandbox.io/p/sandbox/inspiring-almeida-z5ct3t?file=%2Fsrc%2FDemo.js%3A27%2C29
Hope it helps.
from mui-x.
I should have a definitive answer by this time next week if the ticket can stay open to confirm
from mui-x.
Hello,
I was able to get some of the changes into my dev simulation and it doesn't' show the loading indicator initially. The no data does go away once the data is loaded but it shows initially. Should the no rows overlay be removed from the slots?
Here's my sandbox example
This is the actual url to the sandbox https://codesandbox.io/p/sandbox/blue-field-432zlg?file=%2Fsrc%2FCommonGridRowActions.jsx%3A898%2C37. The above is the shared link.
from mui-x.
@lisaWriteJava I can not access the linked codesandbox, maybe the sharing permissions are not set. Can you check?
from mui-x.
I'm sorry I've updated the permissions to public so you should be able to see now.
from mui-x.
Related Issues (20)
- [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
- [data grid] Pressing `Delete` key in a Boolean type cell, the value incorrectly resets to empty string HOT 6
- [data grid premium] Copy and Paste content from cell selection doesnt mantain the sorting set HOT 2
- [data grid] Copy and Paste content from cell selection doesnt mantain the sorting set HOT 4
- [all components] Remove all IE 11 support
- [pickers] Error loading AdapterDateFns with date-fns v3 in vite: Missing "./_lib/format/longFormatters" specifier in "date-fns" package HOT 2
- [data grid] Include password protection and set a custom file name for the exported Excel file HOT 4
- [data grid] Column's renderCell api parameter's type is from community version instead of pro version. HOT 1
- [charts] Default Gauge Pointer
- [data grid] Debounce header filter inputs for async server-side filtering and pagination HOT 1
- [charts] How to disable animation of SparkLineChart? HOT 1
- [data grid] filter on invalid date HOT 5
- [data grid] Autosizing does not work with custom cell renderer HOT 8
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.