Skip to content

[Question] How does JSDO work with server pagination? #271

@W1nstar

Description

@W1nstar

This may be an issue, but I can't say exactly.

I'm using skip and top as parameters on my read operations in order to always ask the server for the 10 records the user asked for. I'm always getting the next 10 records correctly.

The problem is the JSDO doesn't hold the previous 10 records, hence CRUD operations fail for those records. To try and circumvent this issue I tried to use the different mergeModes that can be specified for the fill operation, but I'm having problems:

  1. For some reason it does not order the records
  2. I have to manually clear JSDO records, but I haven't find a way to do so in the docs.
  3. If the catalog holds more than one dataSet, it does not merge.

I've read on the docs that Kendo objects work with server paging, so I assumed JSDO was the one doing the work. After debuggin the whole process I'm about to say it doesn't, but I'd like official confirmation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions