:: Forum >>

setCellImage: where's it getting the image from?

Hi eveybody,

this is a pretty basic question and I'm a bit embarrassed to admit that I don't know the answer to it but... here it goes.

I've noticed that in many examples, you make use of the setControlImage and setCellImage methods of UI Controls to set an image. This is great, but there's one thing that's got me puzzled. Take the following example:

obj.setControlImage("favorites");

from some Class reference page. I've searched my entire ActiveWidgets tree for an image called "favorites.png, .gif. .jpeg" whatever. Nothing. The image just seems to be coming from outer space. Is it coming from the browser's chrome? If so, is there a place where I can inspect what images are available there? Does anyone have any links?

I've also read this posting

/javascript.forum.12703.2/custom-images-in-the-cells.html

which does a great job of explaining how I would go about setting images OTHER than these mystery ones.

My practical question, beyong solving the puzzle, is, besides "favorites", which other options I have by default without having to resort to innerHTML edits like the one suggested Jim Hunter and Carl.

Thanks in advance!

Best,

QUASAR
QUASAR
Monday, July 31, 2006
/grid.howto.cells/images.html
Alex (ActiveWidgets)
Monday, July 31, 2006

This topic is archived.


Back to support forum

Forum search