Hi
Is <mx:rendererProviders> tag inside <mx:AdvancedDatagrid> can be used with
HierarchicalData only?????
I don't have HierarchicalData and i want to show the totals in the grid. I
have the xml in the format. But if i use the piece of code at bottom end then
render is never executed.
Can anybody explain me why is this hapening????????????????<employees>
<totals>
<salary>10000</salary>
<employees>2</employees>
</totals>
<employee>
<firstname>Rajan</firstname>
<lastname>Jain</lastname>
<address>India</address>
<salary>1000</salary>
</employee>
<employee>
<firstname>Rajan2</firstname>
<lastname>Jain</lastname>
<address>India</address>
<salary>9000</salary>
</employee>
</employees>
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------<mx:XMLid="employessDataBase"
source="../database/database1.xml"/><mx:AdvancedDataGridx="46" y="44"
width="552"
dataProvider="{employessDataBase.employee}"><mx:columns><mx:AdvancedDataGridColumndataField="lastname"
sortable="false" /><mx:AdvancedDataGridColumndataField="firstname"
sortable="false" /><mx:AdvancedDataGridColumndataField="address"
sortable="false"/><mx:AdvancedDataGridColumndataField="salary" sortable="false"
/></mx:columns><mx:rendererProviders>dataField="
columnIndex="
columnSpan="
rowSpan="
renderer="<mx:AdvancedDataGridRendererProvideremployessDataBase.totals" 1"4"
1"learn.too.develop.renderer.showTotal"/></mx:rendererProviders></mx:AdvancedDataGrid>
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------