Synchronizing column widths between 2 tables

i have a requirement where i have to synchronize column widths of 2 tables without explicitly setting the widths. i get -1 when i try to read the widths of columns using getColumnWidth(…) method.

Thanks
Myran