|
[app.component.html]
<div class="container">
<ejs-grid. . . . > . . . . </ejs-grid>
</div>
[app.component.css]
.e-movablecontent {
overflow-x: hidden !important;
overflow-y: auto;
}
.container {
width: 200%; // Moveable content width
}
|
dataBound() {
// SCROLL GRID CONTENT WITH AGGREGATE SECTION WHEN USING THE SCROLLBAR BELOW THE AGGREGATE SECTION
const topScrollBar = document.querySelectorAll('.e-grid .e-movablecontent');
const bottomScrollBar = document.querySelectorAll('.e-grid .e-summarycontent .e-movablefootercontent');
bottomScrollBar[0].addEventListener('scroll', function() {
topScrollBar[0].scrollTo(bottomScrollBar[0].scrollLeft, 0);
}, false);
}
/**************************************************************/
/* SHOW SCROLLBAR BELOW AGGREGATE SECTION */
/**************************************************************/
.VacationsGrid .e-summarycontent .e-movablefootercontent {
overflow-x: scroll;
overflow-y: hidden !important;
}
/**************************************************************/
/* HIDE TOP SCROLLBAR */
/**************************************************************/
.VacationsGrid .e-movablecontent {
overflow: hidden !important;
}
|
.e-frozencontent {
height: inherit !important;
} |