Is there any way to wrap the label for commonName for example? Usually we just set wrap to true and the value automatically wraps to the next line.
data:
Code:
isc.TileGrid.create({ tileWidth:150, tileHeight:190, height:400, width:"100%", showAllRecords:true,wrapCells:true, data:animalData, fields: [ {name:"picture", type:"image", imageURLPrefix:"/isomorphic/system/reference/inlineExamples/tiles/images/"}, {name:"commonName",wrap:true} ] });
Code:
animalData = [ { picture:"Elephant.jpg", commonName:"Elephant (African) User Profile Management", information:"The African Elephant is the largest of all land animals and also has the biggest brain of any land animal. Both males and females have ivory tusks. Elephants are also wonderful swimmers. Man is the only real enemy of the elephant. Man threatens the elephant by killing it for its tusks and by destroying its habitat.", lifeSpan:60, scientificName:"Loxodonta africana", diet:"Herbivore", status:"Threatened" }, { picture:"Alligator.jpg", commonName:"Alligator (American)", information:"In the 16th century, Spanish explorers in what is now Florida encountered a large formidable animal which they called \"el largo\" meaning \"the lizard\". The name \"el largo\" gradually became pronounced \"alligator\".", lifeSpan:50, scientificName:"Allligator mississippiensis", diet:"Carnivore", status:"Not Endangered" }, { picture:"AntEater.jpg", commonName:"Anteater", information:"Anteaters can eat up to 35,000 ants daily. Tongue is around 2 feet long and is not sticky but rather covered with saliva. They have very strong sharp claws used for digging up anthills and termite mounds.", lifeSpan:25, scientificName:"Myrmecophaga tridactyla", diet:"Ground dwelling ants/termites", status:"Not Endangered" } ];
Comment