Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

  • DataSource Caching

    Is data cached per DataSource instance? Or is it cached based on the actual DataSource (like 1 cache per ID)?

    I guess what I'm asking is, if I have data bound components, can I update their data by doing:

    Code:
    DataSource.get("mydatasource").updateCaches()
    Or does it need to use the instance that is bound to the component?

  • #2
    Hi aderosso,

    this works as you imagine, see ResultSet and perhaps serverside addRelatedupdate to see how to send additional updates with a response from a server. For the latter one, it is important that the operationType is always UPDATE (even if you did a fetch), because otherwise ResultSet won't integrate the changes.

    Best regards
    Blama

    Comment


    • #3
      Awesome, thank you for the quick response! That's exactly what I was looking for.

      Comment

      Working...
      X