Hi there,
I'm tying to set up the TileGrid. It seems that the selectionUpdated event is not fired. You can see, in the example below, that the console log is not fired.
Because the TileGrid does implement the DataBoundComponent (http://www.smartclient.com/docs/rele...BoundComponent) it should support this method.
It's reproducable in all browsers with the latest nightly of SmartClient_v100p_2015-11-10_Pro
Best Regards
I'm tying to set up the TileGrid. It seems that the selectionUpdated event is not fired. You can see, in the example below, that the console log is not fired.
Because the TileGrid does implement the DataBoundComponent (http://www.smartclient.com/docs/rele...BoundComponent) it should support this method.
It's reproducable in all browsers with the latest nightly of SmartClient_v100p_2015-11-10_Pro
Code:
animalData = [{ picture : "Elephant.jpg", commonName : "Elephant (African)", information : "test1", lifeSpan : 60, scientificName : "Loxodonta africana", diet : "Herbivore", status : "Threatened" }, { picture : "Alligator.jpg", commonName : "Alligator (American)", information : "test21", lifeSpan : 50, scientificName : "Allligator mississippiensis", diet : "Carnivore", status : "Not Endangered" } ]; isc.TileGrid.create({ ID : "dropzoneElement", width : "100%", height : "100%", tileWidth : 150, tileHeight : 205, data : animalData, selectionUpdated : function (p1, p2) { console.log([p1, p2]); }, fields : [{ name : "picture" }, { name : "status", getCellStyle : function (value, field, record, viewer) { if (value == "Endangered") return "endangered"; else if (value == "Threatened") return "threatened"; else if (value == "Not Endangered") return "notEndangered"; else return viewer.cellStyle; } } ], });
Comment