vuetable-2-tutorial-bootstrap icon indicating copy to clipboard operation
vuetable-2-tutorial-bootstrap copied to clipboard

Does Vuetable-2 support infinite loading.

Open jdriesen opened this issue 8 years ago • 1 comments

Hi,

I know this component works very well when using the 'paging' option. But how can I configure 'infinite loading' ... ( meaning...

  • first X-amount of records are loading initially
  • next X-amount of records are loaded when the user scroll down in the table )

Does Vuetable-2 support this ? If so, can you please provide me a link with some docu or an example ?

Thanks in advance. Kind regards,

Johnny (Belgium)

jdriesen avatar Aug 31 '17 09:08 jdriesen

Sorry, it does not support this. However, I think it can be done in Data mode (api-mode="false")

Basically, you'll have to take care of loading the data from outside of Vuetable and supply those data to Vuetable via data property, you can then keep loading and adding data to the end. Vuetable should keep rendering for all those data supplied.

Internally, Vuetable will render the table data from tableData var. This usually was filled with the data loaded dynamically via AJAX.

ratiw avatar Sep 10 '17 07:09 ratiw