Problem with moving scroll bar in custom diff view

Hi I am facing issue with scrolling down the scroll bar.

Could you please help me in fixing this issue. http://webix.com/snippet/db528d9f

try to scroll down any of the scroll bar and the issue pops up…! Please help me in fixing this and more over the data in datatable is playing hide and seek game.

Thanks
Ravikiran

Hi,

The point is that you are trying to get to the component in layout by using its name while such a solution is only applicable to a toolbar and form where child views are stored as elements that possess name attributes.

In this case you should access the datatables with the help of a getChildViews method.

For convenience sake, you can do it once within the $ready handler:

init:function(config){
    ...
    this.$ready.push(this.getTables);
},
getTables:function(){          	
    this.dataTableOne = this.getChildViews()[0];
    this.dataTableTwo = this.getChildViews()[2];            
}

Check the correct snippet, please: http://webix.com/snippet/5919cb5a