get visible column size
Hi All,
i have a table with a few column's.
i have to know the visible size (actually the width) of each one of them.
how can i get this value?
TIA
Hi All,
i have a table with a few column's.
i have to know the visible size (actually the width) of each one of them.
how can i get this value?
TIA
use this
table.getColumnModel().getColumn(colIndex).getWidth()
Hi Hanoch,
this soloution won't help ill explain why.
my table is in some frame .
when i resize (stretch or shrink) the frame can overlap the columns.
so a part of a column can be unvisible.
so when i resize back i want to know what part of columns is visible (because i have to synchronize to other components).
with your suggestion i will always get the same value (i checked it before).
Thanks