Hi

I am reading the xml file and creating the columns. Everything is 
working fine except

<bind id="6" order="3" textAlign="center" width="60" headerText="%" 
sortable="false" dataField="Current GSC" 
labelFunctionName="MISFormatter.formatGSCPercent" 
itemRendererName="com.ubs.flex.mis.panels.grids.GridLinkCell" />
        
1.itemrenderer

I am reading the name of itemrenderer from xml file
then i am doing

classDefinition = getDefinitionByName(itemRendererName) as Class;
column.itemRenderer = new ClassFactory(itemRendererClass);

It gives me error: No constructor error. How to solve this???


2.labelfunction

I am reading the name of itemrenderer from xml file
then i am doing

column.labelFunction = labelFunctionName;
I know column.labelFunction takes function. But i do not know how to 
conver string which conatins the function name into function Object.

Please help.

Thanks
ilikeflex


Reply via email to