I have a data grid form which is populated with data from an XML webservice, when an item in the data grid is selected the data in the data grid is cleared then new data is put in, this is done by deleting the array then repopulating the array, this works when done from the command window but not in the app itsself, I thaught it could be because the table is updated when it is clicked, i.e. itc annot update as it is calling itsself to be updated.
Should also mention I have tried using "RefreshList" and "ResetControl" aswell and this did not help.
Anyone have any ideas?
Thanks,
Dan
Data Grid not updating
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Re: Data Grid not updating
Hi Dan,
please check this thread, maybe this is the same problem?
http://forums.runrev.com/phpBB2/viewtop ... f=7&t=8810
Best
Klaus
please check this thread, maybe this is the same problem?
http://forums.runrev.com/phpBB2/viewtop ... f=7&t=8810
Best
Klaus
-
- Posts: 2
- Joined: Wed Aug 17, 2011 3:56 pm
Re: Data Grid not updating
That works now, the problem was I was using a launcher app to save user preferrnaces on Android and since there was no data grid on the launcher app the Data Grid API was not included in the build, it works now once I added a data grid to the launcher app and set it's visibility to false.
Re: Data Grid not updating
Hi Technoducky,
you mentioned that you are populating data from an XML webservice... I've been trying to do that... can you help? im pretty frustrated.. Thanks!
im using google's API and the out put is in XML.. I want to populate into a data grid..
Thank you!
you mentioned that you are populating data from an XML webservice... I've been trying to do that... can you help? im pretty frustrated.. Thanks!
im using google's API and the out put is in XML.. I want to populate into a data grid..
Thank you!
Re: Data Grid not updating
Hi jmjared,
have a look at Trevor Devore's stack xmlAndArrays in RevOnline
http://revonline2.runrev.com/stack/571/XMLAndArrays
once you convert the xml to an array you can access the data easily and can also feed an array to the datagrid.
Kind regards
Bernd
have a look at Trevor Devore's stack xmlAndArrays in RevOnline
http://revonline2.runrev.com/stack/571/XMLAndArrays
once you convert the xml to an array you can access the data easily and can also feed an array to the datagrid.
Kind regards
Bernd