Notifying the data source that the request succeeded

2 posts, 0 answers
  1. Denis
    Denis avatar
    1 posts
    Member since:
    Apr 2015

    Posted 25 Jun 2015 Link to this post



    Looking over the DataSource API, setting the transport.update method to a function requires an options.success(result) callback.

    I am unable to find any documentation on what "result" should be, i.e. what properties that object should contain and what they all mean.

    This is also the case with other callbacks and objects in the documentation. Am I just silly in missing something obvious? Where do I find documentation on these internal objects' structures?




  2. Rosen
    Rosen avatar
    3214 posts

    Posted 29 Jun 2015 Link to this post

    Hello Denis,

    Generally speaking there is no exact format in which the result should be. The actual expected format is described by the developer via the schema's data, total, groups, aggregates options. By default (if no schema data is specified) the response should be an array as this is what the DataSource can be bound to.

    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top