craftleft.gif (3002 bytes)QuickTable
Home | API | Tutorial | Download | Support | Contact topblack.gif (108 bytes)


QuickTable User Cp  |  Register  |  Members  |  Search  |  Help
    |- QuickTable Discussion Forums > Column Post New Topic   Post A Reply
Multi line column header with different width printer friendly version
next newest post | next oldest post
Author Messages
COBRA
Private

Gender: Male
Location: Germany
Registered: Nov 2005
Status: Offline
Posts: 2

Click here to see the profile for COBRA Send email to COBRA Send private message to COBRA Find more posts by COBRA Edit or delete this message Reply w/Quote
Posted Monday, November 21, 2005 @ 09:38:44  

Hi all :)

How can I create Multi line column header with different width?
In the first line I need 3 or 5 column header. For all column in the first line I need 3 column header in the second line.
For all column header in the second line I need 3 or 5 column for all data lines.

Sample table:
___________________________________________________________________________________________________
___________________|___________________________|___________________________|________________________| first header line
___________________|_________|_________|________|_______|_________|__________|_________|_______|______| second header line
___________________|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_| last header line
___________________|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_| Data lines
___________________|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|
___________________|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|

Can someone help me.

COBRA

[Edit by COBRA on Monday, November 21, 2005 @ 09:40:30]

[Edit by COBRA on Monday, November 21, 2005 @ 09:50:01]

Admin
Board Owner

Gender: Unspecified
Location:
Registered: Jul 2003
Status: Offline
Posts: 9

Click here to see the profile for Admin Send email to Admin Send private message to Admin Find more posts by Admin Edit or delete this message Reply w/Quote
Posted Monday, November 21, 2005 @ 10:54:22  

Quicktable allows multiline column header within a single column. In your case you are trying to merge the column headers in the first row. This is not supported in quicktable.

You can implement this yourself using the following method discussed in this url
http://www.esus.com/javaindex/j2se/jdk1.2/javaxswing/editableatomiccontrols/jtable/jtablenestedheaders.html

COBRA
Private

Gender: Male
Location: Germany
Registered: Nov 2005
Status: Offline
Posts: 2

Click here to see the profile for COBRA Send email to COBRA Send private message to COBRA Find more posts by COBRA Edit or delete this message Reply w/Quote
Posted Tuesday, November 22, 2005 @ 03:36:45  

Thank you. :)
Post New Topic   Post A Reply Jump to:
Contact Us | QuickTable - A Java DBGrid | Privacy Policy All times are GMT -5 Hours.
Welcome to QuickTable Forums, Guest!  
Login
Username :
Password :
In order to fully utilize the abilities of this board, you are required to register as a member. Registration is free, and allows you to do lots of things including turning on or off certain features of this board. Register now!
Powered by CuteCast v2.0 BETA 2
Copyright © 2001-2003 ArtsCore Studios