3.2.0

setSelectedItems on List control does not result in showing the item selected

When I use.

var listObject = new AW.UI.List;
listObject.setItemText(0, "test");
listObject.setItemText(1, "test");
document.write(listObject);

listObject.setSelectedItems([1, 2]);
listObject

button.onControlClicked = function(event){
listObject.setSelectedItems([1, 2]);
listObject .refresh();
}

The list control does not show the items selected. What else do I need to do to make this happen
WeeJavaDude
April 26,
Looks like I found my problem. I was doing a refresh on the Table rather than on the grid.
WeeJavaDude
April 26,

This topic is archived.

See also:


Back to support forum