EasyUI Forum
May 20, 2024, 09:47:46 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: onscroll on datagrid  (Read 1951 times)
roberto
Jr. Member
**
Posts: 88


View Profile Email
« on: February 08, 2022, 10:57:03 AM »

is there a way to call a function after the browse panel scroll?
Logged
jarry
Administrator
Hero Member
*****
Posts: 2264


View Profile Email
« Reply #1 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)
})
Logged
roberto
Jr. Member
**
Posts: 88


View Profile Email
« Reply #2 on: February 12, 2022, 10:53:38 AM »

thanks!
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!