posted 17 years ago
I have a flextable where the cell widths of the various columns end up being based on the data displayed. The flextable is in a scrollable panel because it might be large. I'm trying to add headers to the columns, but not in the first row of the table because I don't want it to scroll.
I could put another flextable or grid above for labels, however I don't know how to poll the width of the column in the flextable in order to set the width of the corresponding label cell.
Any suggestion on either a better way to do this not using an additional separate table, or a suggestion on how to get the width of the columns in order to set the corresponding column in the label table?
Many Thanks