Our blazing fast Grid component built with pure JavaScript


Post by prashil »

Hello bryntum,

In my project i implemented Tree grid, If i try to add server side pagination in that.
It shows error like below:

Attachments
Screenshot 2022-09-13 at 12.36.02 PM.png
Screenshot 2022-09-13 at 12.36.02 PM.png (982.08 KiB) Viewed 570 times

Post by tasnim »

Could you please provide us a runnable test case so we can reproduce and debug it?


Post by prashil »

const config={
treeFeature: true,
 store: {
      readUrl: "https://localhost:8000/member/data/pagination",
      pageParamName: "page",
      currentPage: 1,
      pageSize: 2,
    },
    bbar: {
      type: "pagingtoolbar",
    },
}

Post by tasnim »

Unfortunately, the tree grid doesn't support pagination. But you can try loading children on demand instead. We have a demo on that. Here it is https://bryntum.com/examples/grid/treeloadondemand/

You can also find the code from the sources that you've downloaded. You can find it here examples/treeloadondemand

Good Luck :),
Tasnim


Post by prashil »

Can I use bryntum grid pagination component separately and can I handle onClick changes like previous page ,Next page, First page and last page from server.


Post by tasnim »

Hi,
No, It's not possible to achieve.

Good Luck :),
Tasnim


Post Reply