I want to reset position of the scrollbar when I search data or change page or change page size. How can I provide this ? @Domino987.
Domino987
@Domino987
@gokhansamet so you mean it jumps back to the start ? What did you try
gokhansamet
@gokhansamet
@Domino987 yes, I want to see the scroolbar on the top. Actually, I try mbrn/material-table#1760 this and I tried using useRef but I can't handle
Edgar Pozadas (CW)
@Edgar-Pozadas_ghub
Hi @Domino987 if I want to use material-ui v5 how should I install? Also, is this version updated with all the bug fixs? and if it is, will it continue?
Hello, i have to frequently rerender table when data is changed, this breaks sorting since it resets every time. I suppose i could use state to save the sorting and then set it when table is rendered. Is there a way to set sorting manually from the code? Thank you very much!
ogozman
@ogozman
Hey, is there a way to get all the tableData of each row in order to sync it with the incomming data when the table is rendered?
Domino987
@Domino987
@ogozman can you share sandboxes for oth your problems so we can udnerstand your problem better?
what do you mena with sync it
ogozman
@ogozman
@Domino987 Sorry, it is a bit hard to come up with helpful sandbox. I am talking about rows internal tableData, which is accessible through several functions, an example of using it is on this page. https://material-table-core.com/demos/selection/on-row-click I would like to implement bulk select on shift + click (i did not find any implementation, if it is there, would be great), which is why i need the tableData of previously unseen rows. Is there a way to get this tableData for all rows somehow? Thank you!
Domino987
@Domino987
You can use the tableref to access the datamanager to get all the data
ogozman
@ogozman
@Domino987 Thank you very much!
Gianmarco
@gian89
has anyone ever had this problem? by selecting as an option that the columns are resizable and passing the "column" field as variable the columns are not resizable. If instead I write the entire array then they are resizable
Gianmarco
@gian89
I also have another question. I wrote a whole component using version 1.69.1 but when I went to use it the page layout broke. This does not happen with version 2.0.3 but the component no longer works as it should. Does anyone have an idea for a solution or an idea
Thank you! :)
Domino987
@Domino987
Which version and which repo are you using
the owner of the original repo just updted the mui version without verifying that it works, so for mui v5 use the fork material-table-core
Gianmarco
@gian89
the layout problem come with material-table 1.69.1
_
Gianmarco
@gian89
@Domino987 thank you very much. use material-table/core solved the problem with layout
九练
@NineSenz
Excuse me, How do I use MUI to paginate tables
There are sample programs for reference?
九练
@NineSenz
Where should I put the Pagination tag in the table tag?
Hi Domino, I'm trying to use the table to constantly get websocket data stream. All works fine until I try to use filter function. Everytime I select a filter option for example, when the new data comes in, I use useEffect to refresh the data, but it will also unselect my filter option and display the whole data in the table. Is there anything that i did wrong?
@Domino987
Domino987
@Domino987
Do you have an id to the data? Or share a sandbox
aysuio
@aysuio
Thanks for the reply, Domino. Im kind of very newbie, tried but failed to setup a work-able sandbox for my case. But I managed to solve my problem by adding a custom filter myself
Jagdish Singh Mehra
@jagdishlove
Hello, can we use checkbox selection and action together as I am unable to use actions when I am using selection:true, any solution?
Jagdish Singh Mehra
@jagdishlove
Ok now its working.
Edgar Pozadas (CW)
@Edgar-Pozadas_ghub
Hi @Domino987 How can I know the columns the user is grouping by?
hi every one , i have this matrial table i want to bulk paste some data from an excel sheet row and cell wise , if i select 2 row it got pasted only in 2 inputs . i used paset-from-excel but it is not working.
Domino987
@Domino987
As always, a sandbox is needed to fully understand what you are doing and to help you
i just want thta if i copy from excel like this and if i paste in the first input , i get pasted in all the next inputs automatically.
Linos2508
@Linos2508
@Domino987 I want to add a feature, a prop named onGroupChange that will be called each time a column is added or deleted from the groupBar, is this idea ok for you?
harisali10
@harisali10
Hello all with Material Table 2.0.3 browser gets hanged
Domino987
@Domino987
@Linos2508 that sounds like a good idea
@harisali10 that's because mbrn updated eithkut verifying. Check out Material Table core, the official fork