datatable dyn load not working after some function calls

in my project I extensively use and work with data tables and dynamic load.

under some circumstances sometimes it does not work anymore. datatable does not send any further load request to the server.

i tried to reproduce this (for many hours), and found out that sometimes getColumnConfig / moveColumn commands may create that state, in combination with getColumnConfig commands on non-existing columns (in sample simulated with uid() )

http://webix.com/snippet/de7307b9

after some seconds (to delayed function calls) in most times the dynamic load will NOT work. hope you can confirm that behavior!

can you confirm that issue?

Hi Chris, I do confirm a bug.

But please note that it is not related to column operations at all, only loading matters.

So, when you call .scrollTo() a request is initiated. Then, you immediately call the .clearAll(), the request is aborted and the callback is never executed. And it does some necessary logic for a dynamically loaded set.

So, while we will add this logic into .clearAll() handling, you can tune your code so that it waits for the request to finish and ONLY then clear the dataset.

Please, check whether everything is ok: http://webix.com/snippet/0612815d

Hi Helga,
thanks, but my sample was just to create that error-state.

In my code there is no .scrollTo() like in the snippet, but may be other oder user operations. In my code i can’t 100%ly reconstruct that state, it occurs “sometimes”.

Once a datatable is in that state, i don’t bring it back to work correctly, its ignoring datafetch/loadahead settings, does not load more pages from server.

is there a way to re-set a datatable to bring it back to work?

wishing you happy and peacefull holidays