Jump to content
JasperReports Library 7.0 is now available ×

variable column length


Recommended Posts

By: Tzanko - tsanstef

variable column length

2003-03-27 09:02

Hi Teodor,

I want to creat e generic tool that will display different tables. The problem is that in advance I do not know what will be the length and the data type of the columns.

Ex.1 id - length 10 | name - length 30 | description - length 100

or it could be the other way around. So I cannot use static textField width. The of every field will change with each table.

For data types I guess I can always use String as field type.

 

Do you have any ideas how to deal with variable column width? I have used expand on overflow but it works only downwards, while in my case the fields have to expand to the right if we assume similair approach.

 

Thank you for your help.

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...