:: Forum >>

link template picking up image

If I take your example images.htm and simply add

grid.setCellTemplate(new AW.Templates.Link, 2);
after
grid.setCellTemplate(new AW.Templates.ImageText, 1);

the image also shows up in column 2. This was happening in my code so I went back to the example to test. I saw another post on this but the answer seemed more complex than I would think is needed. Is this a bug or am I not understanding something?

Thanks.
JimV
Friday, September 28, 2007
If your image function returns image code for all columns you should change it, so it returns "none" or empty string for all columns which should not contain images.
Alex (ActiveWidgets)
Monday, October 1, 2007

This topic is archived.


Back to support forum

Forum search