Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    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 ?
    Domino987
    @Domino987
    you need to share a sandbox of what you are doing
    Deepak Raghul Ravi
    @deepak0797
    i'm trying to add a button in a column in material button and on click of the button i'm trying to hit a url how to get the index of the row?
    i tried rowData.index it didn't work
    {title:'Show More',field:'internal_action',render: rowData => <Button as={Link} to={RouteMap.ShowMore + "?deployment=" + rowData.deployment_name+ "&index=" +rowData.index} size={"sm"} variant="warning">Show More</Button>}
    Jagdish Singh Mehra
    @jagdishlove:matrix.org
    [m]
    Hello, I want to create first row text as hyperlink so that if i click on column text then only we can see its information in next page, hown we can achive it?