Is there a way to perform CRUD actions on thhe MUI grid state not with local storage but a database

  Kiến thức lập trình

So I want to do something like: https://mui.com/x/react-data-grid/state/#save-and-restore-the-state-from-external-storage but, instead of localstorage I want to place the session info into hard storage and restore from hard storage. I”m assuming I’d store it in as json but how to do I get it and how do I get a specific state since saving can be as many as the user creates.

I tried searching stack over flow, looking at mui documents and triying to figure out how to code it myself but I’m just not sure where to beging with restoration, With saving I assume I’d put it in the same way I do for local storage but just not sure this (How to store filters data in the local storage in MUI DataGrid component?) come close but still it’s using local storage not a database:

Theme wordpress giá rẻ Theme wordpress giá rẻ Thiết kế website

LEAVE A COMMENT