Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Domino987
    @Domino987
    @Edgar-Pozadas_ghub https://material-table-core.com/docs/material-ui-v5 yes it is and it will be in the future
    ogozman
    @ogozman
    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?

    <TableContainer>
    <Table>
    <TableHead>
    <TableCell></TableCell>
    </TableHead>
    <TableBody>
    <TableCell></TableCell>
    </TableBody>
    </Table>
    </TableContainer>

    Here for example
    aysuio
    @aysuio
    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?
    Mine Bot21
    @keemadalal:matrix.org
    [m]
    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
    1 reply
    Mine Bot21
    @keemadalal:matrix.org
    [m]
    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
    Linos2508
    @Linos2508
    @Domino987 take a look when you can material-table-core/core#567
    Linos2508
    @Linos2508
    @Domino987 any update on this issue?
    material-table-core/core#561
    Domino987
    @Domino987
    Not yet since I have to work currently.
    Punid Ramesh
    @punidramesh
    Hi, can anyone let me know how to set the state for grouping by default without the drag and drop ?
    3 replies
    Linos2508
    @Linos2508
    @Domino987 Do you an idea of when will you bump a new version?
    Domino987
    @Domino987
    I still have 2 issues to fix over the weekend. So this weekend probably
    cuongnv0920
    @cuongnv0920
    Hi everybody
    image.png
    I'm using editcomponent to upload a file to the server
    on the server i try console.log(req.file) but i get nothing
    can anyone help me
    Domino987
    @Domino987
    Did you check e.currentTarget. or would you be able to put this in a sandbox
    3 replies
    Praveen Somayaji
    @pravichandu_twitter
    Hi- I need some help on the table movement/positioning. I have a page which has headers and material table. i have to push the material table to few spaces below from top of the page. i tried to change padding values doesnot help. can some one be able to guide me ?