Hi,
I have a grid which the form string control is set with this property :
- Display Height = -1
- Display Height mode = Auto
- Height mode = Auto to content
All these actually their Default value. Does it mean it will be flexible height ?
But in the UI, it will be like this ->
Above image is displaying 2 rows, and we can see it is not flexible to its content. Is there a way to make it flexible ?
Thanks
Also keep in mind that EDT you are using is a custom EDT.
If you are using standard EDT - Don't change that as it will affect all the places where the EDT is used.
Thanks,
Girish S.
Auto to content will result in a size which is large enough to display the control. But increasing the height of the control based on the content will make the grid looks not good.
There is another option to adjust the height of the control - On the EDT property you can mention the Display Height - By default it is set to "Auto" - You can change that and set it to fixed value.
But adjusting this will increase the height, but the other columns in the grid will have more space which will make the grid not look good.
You can change that Display height property on EDT and see the output of the grid. Based on the output you can decide whether to set the display height or leave it as it is.
Thanks,
Girish S.
Hi Girish,
To change the display height, which means will be "fixed" ? Also I'm wondering what "Auto to content" means, as at first I thought it will be follow the content, but maybe it means it have scrollbars.
Anyhow, this is not a big problem.
Thanks.
Hi VoltesDev,
I think this is standard behavior - You can refer to standard form like - Account payable parameters form - Number Sequences (Tab) - You can see the scroll bar for the description field.
If you want more flexible to remove scrollbars - Try changing the display height - display height mode and check.
Also, if you increase the height, I guess the look of the grid will not good. You will have columns that is having contents in single line and if you increase the height of the one column it will affect other columns and you will see some blank spaces.
Thanks,
Girish S.
André Arnaud de Cal...
291,979
Super User 2025 Season 1
Martin Dráb
230,848
Most Valuable Professional
nmaenpaa
101,156