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
221
ValueList with images as dropdown in grid
posted

I'm experiencing some problems with ValueLists and images...

 

When I have a ValueList containing strings for both Text and Value, and a column string DataType everything works fine. The grid shows a dropdown control and I can select values from the ValueList. However, I want to show images instead of text in the grid. Thus the column DataType is Image, the ValueList is filled with images for Value and strings for Text. The problem is now that the grid no longer shows a dropdown (not even the dropdown button) for the column's cells. It acts just like a plain non-editable cell. Even if I manually specify Style = Infragistics.Win.UltraWinGrid.ColumnStyle.DropDownList it doesn't work. With breakpoints I can clearly see the ValueList is correctly set and assigned to the column. It just won't appear as a dropdown...

 

It's as if the Image DataType blocks AllowEdit on the cells so the dropdown doesn't show.

 

Any solutions? Workarounds? ...

 

- Visual Studio 2005 SP1 

- Infragistics .NET Advantage 2007.3 + hotfixes

Parents Reply Children
No Data