Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
290
Word wrap in grid's cell when using UltraGridDocumentExporter
posted

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?

  • 469350
    Suggested Answer
    Offline posted

    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.