Material UI in React #10 - Data grid - fetching data from API, loading, error messages

  Рет қаралды 35,084

The Atypical Developer

The Atypical Developer

Күн бұрын

Пікірлер: 41
@aelohinjuz
@aelohinjuz Жыл бұрын
Pretty good the full series!, Thank you!! Great presentation.
@JoBj89
@JoBj89 Жыл бұрын
really good video. Even people with little experience will understand the explanations!
@leandrmiklashevich297
@leandrmiklashevich297 Жыл бұрын
It seems like MUI Data Grid changed API and PageSize doesn't work nowadays.
@beyzaates2908
@beyzaates2908 2 жыл бұрын
First of all, thank you for your hard work. Please add the user list crud operations to the authentication page.
@theatypicaldeveloper
@theatypicaldeveloper 2 жыл бұрын
hey Beyza, thank you for your comment, that means a lot to me! Apologies! But I am not planning to add any more content to the MUI series at this moment, unless something crucial comes out I might work on a completely new series. Hope you can find your answer elsewhere :).
@beyzaates2908
@beyzaates2908 2 жыл бұрын
@@theatypicaldeveloper Thank you for your interest. :)
@DaveTradeFx_01
@DaveTradeFx_01 2 жыл бұрын
Thank you for your hark work, keep it up and post more video about MUI
@theatypicaldeveloper
@theatypicaldeveloper 2 жыл бұрын
hey Hak, been away for a bit. I'll probably drop the MUI subject and move on to new features in React 18, but if anything crazy comes out in MUI then I might do a separate series.
@DaveTradeFx_01
@DaveTradeFx_01 2 жыл бұрын
@@theatypicaldeveloper How about doing the Mui Autocomplete? How to handle it within the form submit?
@christianbaidoo1016
@christianbaidoo1016 2 жыл бұрын
Thank you Sir, I found this tutorial really useful
@theatypicaldeveloper
@theatypicaldeveloper 2 жыл бұрын
hey Christian, thank you!
@Shariq26
@Shariq26 Жыл бұрын
I am stuck at the api response for status as I am getting response as 1, 2, 3 which has to be shown in frontend as Accepted, Pending and Rejected. Stuck with Data Grid layout
@tomaszstanisz1786
@tomaszstanisz1786 Жыл бұрын
How about fetching headers for the DataGrid to have complately reusable Table, not only rows but also columns with headers fetching as table config from api? is it possible with dataGrid?
@suman_osti
@suman_osti Жыл бұрын
hey bro, i used data grid in axios get request, i am updating the value from api to table, and i have used datagrid's filter for the filtration, and in useEffect hook i have set the depedency for the table, and if the depedency array is given then the filter flickers and goes into infinite call and i cant use the filters they just flicker, but the table is fine though, and if i set the dependency array to null, then the table wont get auto updated i need to refresh the page, how can i fix this, i have to use the filter as well
@jamisonpereira1
@jamisonpereira1 Жыл бұрын
Loved the series! great job. quick question: The clickaway close feature is not working for me... and looking at the solution repo I'm not sure where it's integrated. Am I missing something or is this a bug?
@stokedonthestoke
@stokedonthestoke Жыл бұрын
Thanks for this series! I have a question: how do I get my own page title at the top of the drawer like it's got in the example?
@trideepsardar2266
@trideepsardar2266 2 жыл бұрын
how we could handle the next page data of data grid according to the pageno. or offset value of rest api? please reply
@theatypicaldeveloper
@theatypicaldeveloper 2 жыл бұрын
hey Trideep, if you wish to display only x rows and then on pagination number change call the API and display the next x rows. You'd have add some extra functionality to the onPageChange prop and then save your results to the state, so you don't end up with repetetive network calls.
@mamlzy
@mamlzy 2 жыл бұрын
please discuss more feature or even all feature about server side data grid, its really useful, and so hard to find tutorial that discuss about full feature server side data grid. thanks btw..
@theatypicaldeveloper
@theatypicaldeveloper 2 жыл бұрын
hey Lazy, thanks for leaving a comment. Sure I will definitely consider that!
@s0me131
@s0me131 2 жыл бұрын
Hey, i am having an issue with Data Grid, maybe you experienced something similar. I am using a rest api with pagination, the initial data length (rows) is 15 and from the api i get total items (way more than 15 that are on one page). Data grid knows that there are more pages but when i change the page i see only one row on all pages apart from the first one. Although i have the right api call and the data is set correctly, i get to see only one row. Any suggestions?
@theatypicaldeveloper
@theatypicaldeveloper 2 жыл бұрын
hey Andrei, sorry it's difficult to tell without the code, do you have a codesandbox?
@s0me131
@s0me131 2 жыл бұрын
@@theatypicaldeveloper i figured it out, it was just paginationMode='server'
@suman_osti
@suman_osti 2 жыл бұрын
hey bro, can you add action options for data grid like edit and delete, will really appreciate it alot bro.
@theatypicaldeveloper
@theatypicaldeveloper 2 жыл бұрын
hey Suman, you shouldn't have an issue with that as MUI data grid has built-in support for cell and row editing. Should be fairly simple to implement, the great example of it can be found just here: mui.com/x/react-data-grid/editing/
@suman_osti
@suman_osti 2 жыл бұрын
@@theatypicaldeveloper yeah i did look at those docs, but while using with the api it seems to be hard and there is no option for confirmation for deletion as well and i wanted to edit the data on a modal, so it would be awesome of you would break it down. 😁😁
@kapiljain4423
@kapiljain4423 Жыл бұрын
hi, can you please upload complete video on mui datagrid with crud operations. please use datagrid free v. thanks in advance.
@funnyvideos-gi4zv
@funnyvideos-gi4zv Жыл бұрын
need video on server side filtering and sorting for MUI DataGrid
@jshub1
@jshub1 2 жыл бұрын
very helful video
@theatypicaldeveloper
@theatypicaldeveloper 2 жыл бұрын
hey there, thank you! Glad to hear that.
@AhmadMaartmesrini
@AhmadMaartmesrini Жыл бұрын
thanks a lot
@anandgarikapati1580
@anandgarikapati1580 2 жыл бұрын
hey bro y cant you do more videos on reactjs?
@theatypicaldeveloper
@theatypicaldeveloper 2 жыл бұрын
hey Anand, I'm working on dropping another series. But to be honest having a full-time job, a life and a video channel is a bit hard to compromise lol. But I'm hoping to release first few episodes quite soon.
@anandgarikapati1580
@anandgarikapati1580 2 жыл бұрын
@@theatypicaldeveloper yes I understand , I appreciate you on managing both. thanks for the upcoming series
@KhalifahMB
@KhalifahMB Жыл бұрын
There's no part 7 and 9, please upload
@mohanr-ho7iz
@mohanr-ho7iz 10 ай бұрын
screen is moving at a very fast rate. Very Difficult to follow..
@AlexisPizarroAbarca
@AlexisPizarroAbarca 2 жыл бұрын
Thank you... when i tried to populate the grid ... an unique id error showed up. For that i need to add to my code this on the UserTable getRowId={row => row.idUser} and in the DataTable component const DataTable = ({ getRowId, rows, columns, }) => { return ( );
@theatypicaldeveloper
@theatypicaldeveloper 2 жыл бұрын
hey Alexis, sorry to hear that you've encontered an issue. If you did everything like in the tutorial the code would work. If you're still having an issue you can put the whole piece to sandbox so we can have a look.
@AlexisPizarroAbarca
@AlexisPizarroAbarca 2 жыл бұрын
@@theatypicaldeveloper Thank you so much it works right now ...
@zeshanshaikh0401
@zeshanshaikh0401 2 жыл бұрын
Please upload next video asap
@theatypicaldeveloper
@theatypicaldeveloper 2 жыл бұрын
hey Zeshan, sorry mate but I'm not planning to do any MUI related videos now. Will come out with the new series soon. If you have any questions let me know, I'd be happy to help.
Библиотека компонентов Material UI. Быстрый старт
48:59
Михаил Непомнящий
Рет қаралды 85 М.
Material UI in React #1 - Installation & adding first component
7:01
The Atypical Developer
Рет қаралды 55 М.
It’s all not real
00:15
V.A. show / Магика
Рет қаралды 11 МЛН
Turn Off the Vacum And Sit Back and Laugh 🤣
00:34
SKITSFUL
Рет қаралды 11 МЛН
99.9% IMPOSSIBLE
00:24
STORROR
Рет қаралды 25 МЛН
React & Material UI #10: Grid & Grid Layout
18:09
Anthony Sistilli
Рет қаралды 159 М.
Search Filter in React JS - Filter Through Results
8:53
Code Commerce
Рет қаралды 164 М.
Why I avoid useEffect For API Calls and use React Query instead
17:45
Basic Setup of Data Grids in Material UI
11:11
Arslan
Рет қаралды 19 М.
The ULTIMATE guide to styling/customizing Material UI (MUI)
10:29
LAVROV's interview with Tucker CARLSON 😁 [Parody]
8:34
Юрий ВЕЛИКИЙ
Рет қаралды 306 М.
MUI V5: Tables pt 1 (Headers, Premade Tables, Virtualization, etc)
12:20
It’s all not real
00:15
V.A. show / Магика
Рет қаралды 11 МЛН