Hi All,
I have data grid populated with records from DB as,
<mx:DataGrid id="dGrid" dataProvider="{lglDocLst}">
<mx:columns>
<mx:Array>
<mx:DataGridColumn headerText="Item Name"
columnName="att_Name" />
</mx:Array>
</mx:columns>
</mx:DataGrid>
where lglDocLst is values returned from my Java class.
This works fine.In my datagrid its printing 2 values of att_Name.
Now I have a button outside datagrid as,
<mx:Button label="Show" click="showAlert()" />
when I click on this button I am printing alert as
function showAlert(){
mx.controls.Alert.show("MyValue "+lglDocLst.att_Name);
}
But this function printing undefined.
any suggestions will be appreciable.
Thx,
sandip p
------------------------ Yahoo! Groups Sponsor --------------------~-->
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/KIlPFB/vlQLAA/TtwFAA/nhFolB/TM
--------------------------------------------------------------------~->
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/