I have a requirement to display tables from Data in the CSV files. The CSV file format varies a lot - The columns and the column count as well.

Displaying this as a tables causes variable length. Sometimes exceeds the page length. Sometimes very short. Is there any way I can find the width required for each column and allocate programatically so that the total width will be something I assign.

Not very much sure if this is the right place to post this topic.

Thanks a lot.