Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

Using

Okay so using the Pull To Refresh example from KitchenSink, how would it be possible to use something like that (Pulling to refresh the page) to update a TableView of 8 items to update from a MySQL table, if anything changes (Such as a date, etc.)?

— asked September 9th 2010 by Colton Arabsky
  • mysql
  • pulling
  • refresh
  • tableview
0 Comments

3 Answers

  • What you are asking is essentially how and why the table pull exists.

    If you are actually creating the tableView using data sent over an HTTP request (XHR), then you should be able use the tableView 'scroll' and 'scrollEcnd' events to trigger another pull of data via XHR and reset the data property of your tableView.

    hth
    K

    — answered September 9th 2010 by Kosso
    permalink
    0 Comments
  • Bump

    — answered September 9th 2010 by Colton Arabsky
    permalink
    0 Comments
  • What do you mean? Explain a little more.

    — answered September 9th 2010 by Dan Tamas
    permalink
    0 Comments
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.