04-09-2010 02:06 AM
hi,
i am reading rows and column value from excel to table. i am not getting the text display completely as per in excel cell. do i need to change any cell attribute or how to do to get the full text to be displayed. pls view the below table,
here in the 2nd column i need to view the text fully for all the cells. how it is done????
04-09-2010 02:54 AM
I'm not aware of any method to automatically adjust column size to cell contents.
What you may want to do is to calculate the expected text width for the cell text and manually adapt the column width to it. To obtain this:
04-09-2010 04:18 AM
hi is their any other way to display the text without going for metafont. i am retreving data from excel to table through the function ExcelRpt_ReadDataToTableControl().
04-09-2010 05:16 AM
Not that I am aware of.
It is to be said, though, that I never used Excel report functions, so I may be missing some useful characteristic of that instrument.
04-09-2010 09:15 AM
There is a CVI function, SetColumnWidthToWidestCellContents, that you can call on each of your columns, after you have converted your table, which should auto-size each column to its ideal size.
Luis