Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

telerik grid data automatically scroll to particular record in react

//    bind to 'change' event
function onChangeSelection(e) {

    //    animate our scroll
    this.element.find(".k-grid-content").animate({  // use $('html, body') if you want to scroll the body and not the k-grid-content div
        scrollTop: this.select().offset().top  //  scroll to the selected row given by 'this.select()'
     }, 400);
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #telerik #grid #data #automatically #scroll #record #react
ADD COMMENT
Topic
Name
4+7 =