Cell icon

Thread ID:

Created:

Updated:

Platform:

Replies:

i have a column, the column cells for certain rows must contain a custom icon i made....So i want for some cells of that column to have an icon, and others to be blank...where i'm gonna put the icon is determined by the value of the row cell, that is, if the cell has value show the icon, and if it's null show nothing...

There's a rough picture in the attachment...

The black stains represent the places where to put the icon..I'm fillin that column from a database, and when the columns are filled, i want there to be an icon in the places where the value exists,and where the value is not null (in the database).

You can specify the location and size of the resulting image on the display surface in DrawIcon method. Please try the below code snippet to display image at center of the gridcell and let me know if this helps.

You can specify the location and size of the resulting image on the display surface in DrawIcon method. Please try the below code snippet to display image at center of the gridcell and let me know if this helps.