We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

imageindex in celltype = image not setting to the correct image

e.Style.ImageIndex = iif(e.TableCellIdentity.DisplayElement.GetData("isImage"), 10, -1) no matter how i set it, the image will always show imageindex = 0 in the imagelist. what do i need to do to get it to show the image i want?

1 Reply

AD Administrator Syncfusion Team January 8, 2005 08:12 PM UTC

You did not indicate how you were setting things up or where you were trying to use this code. Here is a sample that conditionally displays an image in one column based on the value in another column. http://www.syncfusion.com/forums/Uploads/GGC_Image_Forum.zip

Live Chat Icon For mobile
Up arrow icon