Try dataProvider.length

-Iko

Hi, this is a newbie question:

I have a data grid that base data from a HTTPService (RSS feed), which loaded OK.

How do I find out how many total rows are in the DataGrid? (ie. something like
newsFeed.items.length etc.)

<mx:DataGrid x="52" y="68" width="100" height="50" id="newsFeed" dataProvider="{externalNewsRSS.lastResult.rss.channel.item}" visible="false">
<mx:columns>
  <mx:DataGridColumn headerText="Posts" dataField="title" showDataTips="true"/>
</mx:columns>
</mx:DataGrid>

I searched documentation and forums but don't seem to find an answer. Thanks for your help!

Tony

__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Software development tool Software development Software development services
Home design software Software development company

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___

Reply via email to