But you aren't thinking about all three possibilities 1) Header Column X is wider than Data Column X 2) Data Column X is wider than Header Column X 3) they are the same
So i don't know how *not* thinking about all three possibility would be "better" And i don't understand "like that what is important it to setup well only the column header width" That doesn't make any sense Anyways, i provided working code for your situation and tried to cover all situations, use it or continue to over complicate things and not have it working... best of luck either way.... On Mar 6, 2:21 pm, Alain Roger <raf.n...@gmail.com> wrote: > > What if the data table's first column is not wider than the header > > table's first column? then you'll be smushing the header.... > > in fact i was thinking to check each column headers first, and whatever > width have the data columns, to allocate the column header widths to their > respective data column. > like that what is important it to setup well only the column header width. > > something like : > Column_data[i].width = Column_header[i].width :-) > > isn't it better ? > > Alain