:: Forum >>

grid image

Hi
I'm trying to assign a different image to a cell depending on it's value. I have seen grid csv.htm example which overrides the getImage function, however I am usinig a grid which I load the data from an array.
Can anyone help please.
mo_pour
Tuesday, July 31, 2007
I would recommend looping through the column you are interested in, adding the correct image to the grid based on a conditional. This is not incredibly efficient, but if you already have it in an array, there is really no other option.
Justin
Thursday, August 2, 2007
There is also an example file in the 'examples' directory -

/examples/grid elements - cells/images.htm
Alex (ActiveWidgets)
Tuesday, August 7, 2007

This topic is archived.


Back to support forum

Forum search