-
November 10th, 2012, 12:56 AM
#1
How to merge two cells into one in JTable?
I need to do the table like this http://imgur.com/vrFmz . But I don't know how to merge two cells into one. What I need to do?
-
November 10th, 2012, 02:42 AM
#2
Re: How to merge two cells into one in JTable?
This screenshot doesn't tell exactly what you need.
Can you give me an example?
-
November 10th, 2012, 02:50 AM
#3
Re: How to merge two cells into one in JTable?
In this example, on first table you can see cell with string "Частота настройки, кГц" on the left side and three row on the right side. It's exactly what I need.
-
November 10th, 2012, 02:54 AM
#4
Re: How to merge two cells into one in JTable?
Sorry, I still don't get it.
-
November 10th, 2012, 03:06 AM
#5
Re: How to merge two cells into one in JTable?
I need to unite cells. This means that I make one big cell from two small cells. But I don't know how to do this on Java.
-
November 10th, 2012, 03:08 AM
#6
Re: How to merge two cells into one in JTable?
So you want the 3500 row at the bottom to be in the one above?
-
November 10th, 2012, 03:34 AM
#7
Re: How to merge two cells into one in JTable?
http://imgur.com/C7VmN Can you see the one cell on the left side and and two cells on the right side?
-
November 10th, 2012, 04:42 PM
#8
Re: How to merge two cells into one in JTable?
If you are wanting to do this with JTable then the simple answer is it doesn't support merging cells. You can however add such support or use a third party component that already has this feature added (such as JIDE grid, but it's not free). Not sure if there are any free implementations available but a quick search may get you what you want.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|