function scrollToAdjustBottom() {
            var cs = getComputedStyle(self);
            var paddingY =
                parseInt(cs.paddingTop, 10) + parseInt(cs.paddingBottom, 10);

            if (top + itemHeight > scrollTop + clientHeight - paddingY) {
              self.scrollTop = top + itemHeight - clientHeight + paddingY;
              return true;
            }
            return false;
          }
// Function to adjust the bottoms of viewport and row.
Function to adjust the bottoms of viewport and row.
Function to adjust the bottoms of viewport and row .
function scrollToAdjustBottom() {
            var cs = getComputedStyle(self);
            var paddingY =
                parseInt(cs.paddingTop, 10) + parseInt(cs.paddingBottom, 10);
            if (top + itemHeight > scrollTop + clientHeight - paddingY) {
              self.scrollTop = top + itemHeight - clientHeight + paddingY;
              return true;
            }
            return false;
          }
function scrollToAdjustBottom ( ) { var cs = getComputedStyle ( self ) ; var paddingY = parseInt ( cs . paddingTop , 10 ) + parseInt ( cs . paddingBottom , 10 ) ; if ( top + itemHeight > scrollTop + clientHeight - paddingY ) { self . scrollTop = top + itemHeight - clientHeight + paddingY ; return true ; } return false ; }
Function to adjust the bottoms of viewport and row.
Function to adjust the bottoms of viewport and row .