EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: roberto on February 08, 2022, 10:57:03 AM



Title: onscroll on datagrid
Post by: roberto on February 08, 2022, 10:57:03 AM
is there a way to call a function after the browse panel scroll?


Title: Re: onscroll on datagrid
Post by: jarry on February 09, 2022, 07:10:32 PM
Call this code to listen to the scroll event on datagrid.
Code:
$('#dg').data('datagrid').dc.body2.on('scroll', function(e){
  console.log(e)
})


Title: Re: onscroll on datagrid
Post by: roberto on February 12, 2022, 10:53:38 AM
thanks!