olton / Metro-UI-CSS

Impressive component library for expressive web development! Build responsive projects on the web with the first front-end component library in Metro Style. And now there are even more opportunities every day!
http://metroui.org.ua/
MIT License
7k stars 1.97k forks source link

Table pagination is not compatible with ajax #1833

Closed vahidbabaveisi closed 2 years ago

vahidbabaveisi commented 2 years ago

Hello,

I am using Metro UI table component. I am happy with it, but when i using pagination, I become sad:

1) I want to load not all the data, but just selected page. 2) I want to load each page by ajax, is that available or not. 3) Is pagination available when I load just one page data. I need this feature.

Thanks.

xscode-auto-reply[bot] commented 2 years ago

Thanks for opening a new issue. The author has been notified and will review it as soon as possible. For urgent issues and priority support, visit https://xscode.com/olton/Metro-UI-CSS or Patreon

olton commented 2 years ago

Please use codepen.io to create example with your problem

vahidbabaveisi commented 2 years ago

my question is general.

vahidbabaveisi commented 2 years ago

I also uploaded my code. suppose I have a json that table is loaded from it. when data is large, table loads slowly. I want to load just the first page, but I should see pagination to navigate between pages. When I press page 2 then the rest of the data should be read from json on page 2. ofcourse accodring to Show entries number. How is this? thanks

https://codepen.io/vahidbabaveisi/pen/bGBQvEZ

olton commented 2 years ago

Currently, partially loads not implemented. You can load full dataset only. Maybe in the next version I will add this feature.