Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
144222 | Apr 25,2019 10:27 AM UTC | Apr 30,2019 10:51 AM UTC | jQuery | 3 |
![]() |
Tags: ejGrid |
<script type="text/javascript">
$(function () {
$("#Grid").ejGrid({
…………………………………………
dataBound:"ondatabound",
columns: [
………………………
]
});
});
function ondatabound(){
this.getScrollObject().setModel({
thumbEnd: "scroll",
wheelStop: "scroll"
})
}
var flag = true;
function scroll(){
if(this.model.scrollLeft == 0 && flag){
alert("Hit");
flag = false;
}
setTimeout(function () {
flag = true;
},0)
}
</script> |
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.