Page 1 of 1
Sizing fields in a grid, or even preview maximum value
Posted: Tue Apr 10, 2012 12:45 pm
by ChrisH
When I place a field in a grid it has no bearing on the size of the data. So my question is, is there a method to automatically expand a column to the minimum size to hold the field?
Example, if I define a field to show a time stamp, how do I know how many pixels wide that time stamp could be?
Re: Sizing fields in a grid, or even preview maximum value
Posted: Tue Apr 10, 2012 4:05 pm
by David
The size required would depend on the font size, font type, and even the exact data contents if using a proportional font.
So, it's not quite so simple.
But, you'll be interested to know that we have a preview function coming with version 4 -- to be released late this month / early May.
This will allow you to plug in test data and see what it looks like in the browser without having to start a session and navigate your way to the screen.
Re: Sizing fields in a grid, or even preview maximum value
Posted: Thu Apr 12, 2012 8:54 am
by ChrisH
that will be a welcome addition. Currently the only way I have found to accurately size columns is to spend the time to write a mock program to load data into the screen and display it.