Page 1 of 1

Text wrap in Data Grids

PostPosted: Mon May 09, 2022 4:10 pm
by swingman
Hi all,

I have been using the table component, but this does not appear to support non-continuous selection of records when the foundSet is set to multi-select.
I can select records 2,3,4 but there does not seem to be any way to select just 2 and 4.
The good thing about the table component, however, is that the row height will expand to ensure all the text of a cell fits.

So I decided to try the Data grid. It supports non-continuous selections, but the height of the rows is fixed, except if you construct some HTML with DIV's set to display as blocks.
Looking in the documentation for ag-grid there are two columns properties called 'textWrap' and 'autoHeight'.
If I try to add these to the columnDef of a Grid Column, servoy complains that these are not in the list of supported properties.

Is there any way around this?
I need a list with variable row height that allows users to select more than one record that are not next to each other...