I have an application based on subfile from AS400. It has several columns with dynamic data width. I need help on how to get the current width of every column and assign it to individual header containers, so headers and columns will be in sync.
here is a sample:
header1 header2 header3
r1c1, r1c2, r1c3
r2c1, r2c2, r2c3
r3c1vvvvvvv, r3c2mmmmmm, r3c3xxxxxxxx
I need a script to set width of header1 the max width of column 1 which is "r3c1vvvvvvv", width of header2 to the max width of column 2 which is "r3c2mmmmmm' etc.
here is a sample:
header1 header2 header3
r1c1, r1c2, r1c3
r2c1, r2c2, r2c3
r3c1vvvvvvv, r3c2mmmmmm, r3c3xxxxxxxx
I need a script to set width of header1 the max width of column 1 which is "r3c1vvvvvvv", width of header2 to the max width of column 2 which is "r3c2mmmmmm' etc.
Last edited: