7/15/2011 8:38:07 AM
Title:
What is the use of label function
Hi,
What is the use of label function.
Thanks & Regards,
krishna
7/16/2011 11:06:17 AM
Label function is used to customize what to display as label in a component . For example to display custom label text you can define a label function for list control
// This function will return the data to be displayed as label.
my_list_Control.labelFunction = function(my_item:Object):String {
var label_text:String = my_item.label + " - and -: " + my_item.data;
return label_text;
}