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
790
Different ultragrids shows images (size) in cells different
posted

Hello,

I am facing a problem with the ultragrid. I have placed an image in a cell like this:

e.Row.Cells["Image"].Value = resources.testimage;

The image is shown, all good, but when i resize one of the other columns in the grid, the image in the cell is resizing too.
I disabled this by setting the min and maxwidth for the cell and indeed the image isnt resized anymore.

But when the ultragrid initial has a lot of columns, the image in the cell is still small compared to the image in another grid.

For examples see the images below.

Can anyone help me?

Thanks,

Kevin

 

Parents
  • 469350
    Offline posted

    Hi Kevin,

    The images in the first screen shot you posted here appear to be scaled down because of the height of the row. Set MinWidth on the column would not help you there. You may want to also set MinRowHeight on the Override to enforce a minimum height on the row.

Reply Children