Text wrap in Data Grids

Questions and answers for designing and implementing forms in Servoy

Text wrap in Data Grids

Postby swingman » Mon May 09, 2022 4:10 pm

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...
Christian Batchelor
Certified Servoy Developer
Batchelor Associates Ltd, London, UK
http://www.batchelorassociates.co.uk

http://www.postgresql.org - The world's most advanced open source database.
User avatar
swingman
 
Posts: 1472
Joined: Wed Oct 01, 2003 10:20 am
Location: London

Return to Forms

Who is online

Users browsing this forum: No registered users and 5 guests