Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

React material-table column resizable

I want to know how to make material-table column resize in react. Please help me. I've tried the following code


        options={{
         sorting:false,
         resizable:true,


like image 668
Dream Avatar asked Nov 23 '25 04:11

Dream


2 Answers

Material UI now is not supported but you can put a div on the right edge of the header of each cell to resize its column. Here is my solution Resize columns table Material-ui

like image 191
Truong Nguyen Avatar answered Nov 25 '25 18:11

Truong Nguyen


this feature is included under the paid DATAGRID-PRO

like image 20
Khmiri Mohamed Khalil Avatar answered Nov 25 '25 18:11

Khmiri Mohamed Khalil



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!