loadNext for Javascript / IndexedDB

the loadNext function is providing a PHP callback with data.
Is it possible to do this with javascript instead, so instead of calling a URL to call a function?
I have been trying to get data from my indexedDB database based on the loadNext.

If you need to load extra data you can just use a parse command.

http://snippet.webix.io/ae568e07

If you are using some mode with autoloading, which calls loadNext under hood - you can use onDataRequest event to intercept the data calls

http://snippet.webix.io/694904c5