Handsontable: Handson table Infinite Scroll to load data

Created on 3 Sep 2015  路  3Comments  路  Source: handsontable/handsontable

Hi Guys,

I would like to make ajax call to load data when user vertical scroll to bottom. I cannot afford to load all the data upfront, I mean thats not the requirement at all.

I tried using afterScrollVertically() event but it is getting called as soon as user starts scrolling, I want event to get fired only if user scrolled to bottom

Can you please advise how to implement this?

Answered

All 3 comments

It's not the programming championship kind of solution, but maybe it will give you an idea how to achieve your goal, here's the example.

The above solution commented by @AMBudnik is broken in jsfiddle. Could you please post a new updated version or edit the old fiddle? Thanks

Here you go @christian-heath https://jsfiddle.net/ke60pzbd/

However, looking at the reactions I can see that it did not meet all user requirements.
Please treat this as a rough idea and officially we do not support infinite scroll. It should add new rows, while the code above after scroll reloads the data to load a bigger set of rows.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

budnix picture budnix  路  3Comments

andrescardona picture andrescardona  路  3Comments

paulo-raca picture paulo-raca  路  3Comments

jeremy-smith-maco picture jeremy-smith-maco  路  3Comments

KSandweb picture KSandweb  路  3Comments