help me: i trying to add columns in table at runtime

K

Kulbir

I am trying to add columns in table dynamically using java, means if i
crated a table then i shuould be able to add/ remove the coloumn in a
table at runtime. when the column is added or delted it should not
effoect other columns.

can any body help me to solve out the problem?

thanks a lot.

waiting for your reply.

Singh
 
H

hilz

Kulbir said:
I am trying to add columns in table dynamically using java, means if i
crated a table then i shuould be able to add/ remove the coloumn in a
table at runtime. when the column is added or delted it should not
effoect other columns.

can any body help me to solve out the problem?

thanks a lot.

waiting for your reply.

Singh

try this

myJTable.getColumnModel().addColumn(...)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,434
Messages
2,571,690
Members
48,796
Latest member
Greg L.

Latest Threads

Top