You could probably bind the result directly to the columns of your datagrid. So whenever you make a new request and the result changes, it is automatically reflected in the datagrid without you having to worry about a thing.
 
Something similar can be found in Flex docs where the result of a HTTPrequest is bound to the datagrid columns. A bonus cause this example, like your application, is a RSS reader.
http://livedocs.macromedia.com/flex/2/langref/mx/rpc/http/mxml/HTTPService.html#includeExamplesSummary
 
Hope that helps,
 
-P

 
On 10/6/06, KP <[EMAIL PROTECTED]> wrote:

Well let me first tell you what I am doing.

 

I have a httprequest (RSS) news and I am displaying that news in datagrid.

 

The problem is if on a server news gets changed it should reflect in datagrid also I mean to say that latest news should display on to datagrid.

 

For this I am using setinterval function which will send httprequest every 5 min.

 

Can any one suggest some other approach for achieving same.

 

Thanks

Kumar


__._,_.___

--
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