Sizing fields in a grid, or even preview maximum value

Use this board to ask questions or have discussions with other Rich Displays users.
Post Reply
ChrisH
Profound User
Posts: 22
Joined: Thu Mar 31, 2011 11:28 am
First Name: chris
Last Name: holko
Company Name: genuine parts company
Contact:

Sizing fields in a grid, or even preview maximum value

Post 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?
User avatar
David
Profound Logic Staff Member
Posts: 690
Joined: Fri Jan 04, 2008 12:11 pm
First Name: David
Last Name: Russo
Company Name: Profound Logic Software
Contact:

Re: Sizing fields in a grid, or even preview maximum value

Post 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.
ChrisH
Profound User
Posts: 22
Joined: Thu Mar 31, 2011 11:28 am
First Name: chris
Last Name: holko
Company Name: genuine parts company
Contact:

Re: Sizing fields in a grid, or even preview maximum value

Post 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.
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests