I have a question regarding using UltraGridDocumentExporter.
I have a grid with 4 columns. On the first column, I set cellmultiline to false so that there's no word wrap. Even when the text exceeds the lenght of the column, the cell just display whatever it can. However, when I add the grid using document exporter and print it, the text on my first column automatically does word wrap when the text exceeds the lenght of the column. I do not want that, is there a way to disable word wrap when I print using GridDocumentExporter?
Hi,
No, I don't believe this is possible.
On the screen, it may make sense to have a cell where some of the text is not in view. The user can make the cell bigger or scroll to see the rest.
But in a print-out or export, this does not make sense, since there is no way for the user to see the hidden data. They can't scroll or make the cell bigger in a PDF document.
If you want to hide certain data from the user, then having it on a second line so that it's just out of view is not a reliable way to keep the data hidden. You would be better off hiding the column and then using an unbound column to display only what you want the user to see, such as the first line of text.