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
close icon

image in gridcell

hi all,

i want display a image in a grid cell.can you
please suggest the idea .

regards

vishnu

1 Reply

AD Administrator Syncfusion Team January 3, 2007 04:56 AM UTC

Hi Vishnu,

Try this code snippet to resolve this.

this.gridControl1[1,1].CellType = "Image";
this.gridControl1[1,1].ImageList = this.imageList1;
this.gridControl1[1,1].ImageIndex = 0;

Also refer to the shipped PictureBoxCellType browser sample for more detail.
\Syncfusion\Essential Studio\4.4.0.49\windows\Grid.Windows\Samples\CustomCellTypes\PictureBoxCells\cs

Best Regards,
Haneef

Loader.
Live Chat Icon For mobile
Up arrow icon