callback after datasource READ completed?

2 posts, 0 answers
  1. Rich
    Rich avatar
    80 posts
    Member since:
    Jul 2012

    Posted 31 Jul 2012 Link to this post

    Hi All,

    I have a datasource that is defined and under a specific circumstance i need to run a function after a read() is completed.

    Is something like this possible:

    dsCommodities.read(function () {
                    //do stuff
                });


    I have the ds defined normally but need to dynamically execute a function for one particular read scenario. thanks!
  2. Rich
    Rich avatar
    80 posts
    Member since:
    Jul 2012

    Posted 01 Aug 2012 Link to this post

    .fetch() has a callback option for those interested.
Back to Top