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
560
Setting AutoSizeMode in the designer
posted
I have a UltraGrid that is bound at runtime. I design my bands and columns in the design mode and set the AutoSizeMode-property of my columns to AllRowsInBand. At runtime, I use the setdatabinding()-method to bind my data to the grid, but this seems to throw away some of my settings I set in the designer. The width of the columns seems to be the default-width shown in the designer, there is no effect of the AutoSizeMode. When I use PerformAutoResize after the databinding, this works just like expected. Is there a way to re-set the designer settings after the databinding? I would like to resize all my columns to the maximum width of the cells, except the last column. The last one should use the remaining space in the grid or more, when the column would not fit into it.. Thanks in advance, Stefan
Parents Reply Children
No Data