Footer not updating when using 'list.onItemClicked'
I'm using a Footer in my Grid with a popup template and when I click on an item it doesn't appear in the combo box. Here is my code:
Cheers in advance.
var obj = new AW.Grid.Extended;
obj.setFooterCount(1);
obj.setFooterVisible(true);
obj.setFooterTemplate(new AW.Templates.Combo, 2);
obj.setPopupTemplate(function(col, row)
{
var list = new AW.UI.List;
list.setId("ComboList");
list.setItemText(arrayList);
list.setItemCount(arrayList.length);
list.onItemClicked = function(event, i)
{
strNewResource = this.getItemText(i);
obj.setFooterText(strNewResource, 2, 0); //not working!
obj.getFooterTemplate(2, 0).hidePopup();
};
return list;
});
Cheers in advance.
Andy M
January 9,