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
50
UltraGrid PerformAutoResize Inconsistent 'Non-smart' Resizing
posted

We're currently having issues getting a grid to format columns correctly.

Given a dataset loaded into an UltraGrid, executing the line

"anUltraGrid.DisplayLayout.PerformAutoResizeColumns(false, PerformAutoSizeType.VisibleRows, true);"

doesn't work as expected. Header AND Cell data is cutoff or made too short, causing wrapping. We KNOW it's possible to fit all column and header text without anything getting cut off because we accomplish it manually resizing the columns ourselves.

Here's an example of how it looks AFTER running the autoResize, a grid we can fix manually:

/community/resized-image/__size/320x240/__key/communityserver-discussions-components-files/1040/ForInfragisticsBadAutosizeExample.png

Control Settings:

/community/resized-image/__size/320x240/__key/communityserver-discussions-components-files/1040/ForInfragisticsBadAutosizeControlSettings.png

Parents
  • 12480
    Offline posted

    Hi Eliot,

    This does not sound like the expected result. In most cases, the grid columns will resize to fit the data so nothing would be cut off. Please provide a reproduction sample so that I can check into what might have gone wrong.

    Please let me know if you would prefer not to upload your sample to the public forum and I will create a private case to receive it.

Reply Children