File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Swing / AWT / SWT and the fly likes how to make column like colspan ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "how to make column like colspan ?" Watch "how to make column like colspan ?" New topic

how to make column like colspan ?

Raj Ohadi
Ranch Hand

Joined: Jun 30, 2006
Posts: 316
Can I make some jTable column have multiple column span (like the html table with colspan="5"). Where can I find some code sample like that ?
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10825

[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
Michael Dunn
Ranch Hand

Joined: Jun 09, 2003
Posts: 4632
if you mean like excel's merge cells i.e. a single row can have one of its columns span 5 columns

don't know if it's been fixed, but the code used to throw a StackOverflow error.
if you get that, for the fix google
AttributiveCellTableModel setDataVector
I agree. Here's the link:
subject: how to make column like colspan ?
It's not a secret anymore!