To all those who didnt know previously, you can access
a listbase  (DataGridBase, List, TileBase and
subclasses of those) class'/component's item renderer
by:

componentID.indexToItemRenderer(k).PROP=propertyvalue;


where :
k is the index of the item in the dataprovider
represented by the renderer (or if you are listening
for a click or rollover, just the returned index);

PROP is a property of your itemrenderer;

component ID is your component's id of course :P

you can also access the data property of that
itemrenderer using:

componentID.indexToItemRenderer(k).data.DataPROPERTYNAME


But of course it is almost always best to leave the
itemrenderers and work on the dataprovider instead.
But for those who really need to ( like me, a while
ago teehee), here's your solution.  I didnt know
before since I always go to the dataproviders
instead... anyway, i hope that helps someone. :P

Cheers!






 
____________________________________________________________________________________
Finding fabulous fares is fun.  
Let Yahoo! FareChase search your favorite travel sites to find flight and hotel 
bargains.
http://farechase.yahoo.com/promo-generic-14795097

Reply via email to