Skip to content

datatable pagination with ajax data source #754

@joch40

Description

@joch40

Hi,

really good stuff, but with nearly no documentation (also in the api) it is very hard to adjust for own needs.

After some fight I got all the examples to work and to adjust to my data model.

It seems to me that the Ajax-Call Back only works if you use the Ajax-Data provider like in the InfiniteScrollDemoPage as only with this way you can set the DT_RowId and with out this value been set the call back is always empty. No problem with that in general, but the only way to feed the Data into the DataTable via the option.ajax way seems to be to create a subclass of an AbstractVirtualScrollResourceReference. That works also but with this I am loosing the pagination. So all works but whatever parameter I set I only get one endless page.

  • Anybody any idea to get the pagination for the AbstractVirtualScrollResourceReference or
  • another way to feed the data to option.ajax or
  • to get the call-back working without using the option.ajax way?

Best

Janko

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