3.0 beta 2

Templates and Images in a (xml) Grid

I cannot get the following templates to work in an xml grid.

AW.Templates/UI.Checkbox - shows checkbox and column text
AW.Templates.Image - Shows nothing (no text, no image)
AW.Templates/UI.ImageText - Shows the text in the column (no image)
AW.Templates.Link - Show the column text
AW.UI.Link - Show the column text with an underline

Alex, can you please at confirm that they are not working or at least give an example for each. With a ComboBox I can do an setItemText() to define the dropdown items and it works great. But with Image and ImageText Templates/UI I was expecting that the image would be displayed as a default. With Link I don't know how to define the image, text and link.

Rick Villela
November 10,
Alex,
Any word on this?!
Rick Villela
November 16,
I am having trouble getting AW.Templates.Link to work as well. I added the lines as the quickref grid example had;

obj.setCellLink("http://www.google.com", 1); // set data
obj.setCellTemplate(new AW.Templates.Link, 1); // and template

But the columns text is not hyoperlinked?

Has anyone gotten this working.
DJK
January 24,

This topic is archived.

See also:


Back to support forum

Search

Version 2

Looking for AW 2.6 ?
The old site is here.