Windows Develop Bookmark and Share   
 index > Windows Forms General > Images in a DataGridView (wrong behavior)
 

Images in a DataGridView (wrong behavior)

Hi there:

I have a DataGridView which shows entity records, some of them have images the rest have null in the image field.

The problem is that when first displayed, only those rows that are initially visible have the row height expanded to show the entire image, when I scroll down I find that the rest are not expaned, showing only a strip of the entire image.

Can anybody help with it?

Thanks in advance.

Rafael
Believe you can do it, and you will!!
  • Moved byTaylorMichaelLMVPFriday, October 02, 2009 1:55 PMWinForms related (From:.NET Base Class Library)
  •  
rafsots  Friday, October 02, 2009 12:35 PM

Hi there:

I already saw what was wrong, I set AutoResizeRows with DisplayedCells, and it must be AllCells.

Thanks anyway.

Rafael


Believe you can do it, and you will!!
rafsots  Friday, October 02, 2009 12:43 PM

Hi there:

I already saw what was wrong, I set AutoResizeRows with DisplayedCells, and it must be AllCells.

Thanks anyway.

Rafael


Believe you can do it, and you will!!
rafsots  Friday, October 02, 2009 12:43 PM

You can use google to search for other answers

Custom Search

More Threads

• paint animation
• Button Events are not working after Downloading File
• VS 2005 controls Demo?
• Performing other task while for-loop is underway....
• I want to be able to work with...
• Drawing to bitmap trouble
• Button Click
• MDI Application Freezes on Display Resize
• deleting the void between tablelayoupanel
• To get values of Reader