How to set the size of the final table created using react-data-grid.
For example if I want a 250*250 px size table, how to do that.
Is there any props already available for that? or it needs to be done using the pure CSS.
How to set the size of the final table created using react-data-grid.
For example if I want a 250*250 px size table, how to do that.
Is there any props already available for that? or it needs to be done using the pure CSS.
You can use something like this
this.dynamicHeight = 250px;
this.dyanmicWidth = 250px
<ReactDataGrid
minHeight={dynamicHeight}
minWidth={dynamicWidth}
...
/>
I hope this helps.