onscroll event on <Flexmonster

Answered
sabby asked on September 11, 2017

In below code , can we do onSCroll ?
 

flexmonster.on('celldoubleclick', function () {
alert('The cell is double clicked');
});
//If you plan on removing some certain event handler later,
//add it the following way
flexmonster.on('cellclick', 'onCellClick');
function onCellClick(result) {
alert('The cell is clicked');
}

5 answers

Public
sabby September 13, 2017

any update on this ? can you guys add :onscroll event on flexmonster in next releases? this is going to be a deal breaker for us.

Public
sabby September 13, 2017

hw to detect up and down event of scroll in flexmonster pivot table ?

Public
Tanya Gryshko Tanya Gryshko Flexmonster September 15, 2017

Hello Sabby,
Thank you for writing. You can use native onscroll event which occurs when an element's scrollbar is being scrolled. Our component is using this event as well. However, if you want to modify the way our grid is rendered, this will not work as the logic triggered by our component on this event is quite complex.
Let me know in case of other questions.
Regards,
Tanya

Public
sabby September 15, 2017

i did add div on <flexmonster component but onscroll happens for each pixel which is toooo many . on each scroll i need to make api calls to retreive chunks of data.
 
we need flexmosnter onscroll 

Public
Dmytro Zvazhii Dmytro Zvazhii Flexmonster September 19, 2017

Hello Sabby,
Thank you for the update. We have to inform you that we have no plans on implementing flexmonster onScroll event.
Please choose the other approach for your case.
Regards,
Dmytro.

Please login or Register to Submit Answer