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
415
fit my columns to cell content
posted

Hi

I have an Ultragrid with two bands. the colsizes are synchronised.
The columns don't get resized when a text longer than the column's width is entered.

How can I achieve that?

I already tried:
DisplayLayout.PerformAutoResizeColumns(true, PerformAutoSizeType.AllRowsInBand, false);

which led to very "interesting" behaviour. Meaning, the grid gets resized, but I couldn't figure out how.
Sometimes the column got resized based on cell content sometimes based on header content.

Any ideas how I can resizes my columns? (would be nice, if I could define that per column)

P.S.
I'm using v2010.1

Thanks

Parents Reply Children
No Data