Announcement

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

    DataSource refresh

    I have 2 datasource instances: one for fetching (used by a ListGrid) and one for updating (used by a DynamicForm). It's the same datasource but I need 2 differents instances.
    I would like to update the ListGrid datasource by updating only the record I've modified with the form without having to invalidate the whole cache.

    Is it possible to add a record to a datasource without executing server requests?

    Thanks

    #2
    Or maybe it's possible to refetch just one record ?

    Comment


      #3
      This is automatic, see the docs for ResultSet about cache synchronization and see the FAQ about grids not updating.

      Comment


        #4
        I see but in my case, I have 2 instances of the same DataSource... so automatic cache synchronization cannot work if I understand well.

        I imagine I must use a single DataSource instance and share it in my ListGrid and DynamicForm...

        Thanks for your help :)

        Cedric

        Comment

        Working...
        X