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
120
Ultragid image column resize
posted

I have a column of datatype bitmap. the value is composed of a set of icons merged into an image side by side which can vary in numbers. My problem is that when the column is resized the images shrink to fit to the point where no images are visible. How can I prevent this from hapenning? I'd like the image to be truncated instead of resized, only show what fit's in the cell and possibly have a "..." or similar indicator at the end to indicate that not all icons are shown.

 

 

Parents Reply
  • 120
    posted in reply to Mike Saltzman

    I managed to do the tooltip part with very little trouble. I used http://devcenter.infragistics.com/Support/KnowledgeBaseArticle.Aspx?ArticleID=8644 as a starting point and used the CustomToolTipImage property. Since i only wanted to show images and no text I had to play a bit with the Title, ToolTipText and Font properties to basically only show " " as text and I set the font to a size of 0.5. That seems to work great for me soo far.

    I briefly looked into the ellipsis and looked for that ellipsis button element you mentionned but have not found it. It seems like the ellipsis on the text cells is the same element as the one containing the text? I would prefer not using an image that contains an ellipsis unless a second image could be added at the end of the cell containing only the ellipsis and still have our icons showing as there own image. basically have two images on one cell instead of a modified image containing the ellipsis.

Children