Hello. I just dropped the latest version of Handsontable into a React MUI (v2) setup.
I currently have some issues with the basics.
- I cannot get the table to expand fully unless I set
stretchH={'all'}
It seems likewidth={'100%'}
should have accomplished this. The containing div is a width of 100% and height of 500px. - If I set
rowHeights={50}
or any other value (array, px, etc) it doesn’t do anything.
This is a trivial table with almost no properties set other than data and the columns. Example
<HotTable
allowInvalid={false}
autoRowSize={false}
data={data}
height={'100%'}
licenseKey="non-commercial-and-evaluation"
rowHeaders={true}
rowHeights={50}
stretchH={'all'}
>
<HotColumn data={0} title={'A'} width={40} />
<HotColumn data={1} title={'B(s)'} />
<HotColumn data={2} title={'C'} />
<HotColumn data={3} title={'D'} />
<HotColumn data={4} title={'E'} width={40} />
</HotTable>
For the data, the last column can have a lot of text. Say 200 or more characters. It seems the cell will always expand to contain this entire content instead of staying at fixed height.
Anyways I look at the examples online and they all work, so I don’t really know if anyone can help. I looked at the CSS interacting (via Chrome dev tools) and I don’t see any global styles that would be breaking Handsontable. It just does not seem to care about the rowheight setting or the width setting.
Thanks