src/js/view/layout/frame-rside.js
function() {
        var dimensionModel = this.dimensionModel;
        var headerHeight = dimensionModel.get('headerHeight');
        var frozenBorderWidth = dimensionModel.get('frozenBorderWidth');
        var resizeHandleView = this.viewFactory.createHeaderResizeHandle(frameConst.L, [headerHeight], true);
        var $resizeHanlder = resizeHandleView.render().$el;
        var $frozenBorder = createDiv(classNameConst.FROZEN_BORDER, {
            marginLeft: -frozenBorderWidth,
            width: frozenBorderWidth
        });

        this.$el.append($resizeHanlder, $frozenBorder)
            .find('.' + classNameConst.SCROLLBAR_FROZEN_BORDER)
            .css({
                marginLeft: -(frozenBorderWidth + CELL_BORDER_WIDTH),
                width: frozenBorderWidth
            });
    }
function() {
        var dimensionModel = this.dimensionModel;
        var headerHeight = dimensionModel.get('headerHeight');
        var frozenBorderWidth = dimensionModel.get('frozenBorderWidth');
        var resizeHandleView = this.viewFactory.createHeaderResizeHandle(frameConst.L, [headerHeight], true);
        var $resizeHanlder = resizeHandleView.render().$el;
        var $frozenBorder = createDiv(classNameConst.FROZEN_BORDER, {
            marginLeft: -frozenBorderWidth,
            width: frozenBorderWidth
        });

        this.$el.append($resizeHanlder, $frozenBorder)
            .find('.' + classNameConst.SCROLLBAR_FROZEN_BORDER)
            .css({
                marginLeft: -(frozenBorderWidth + CELL_BORDER_WIDTH),
                width: frozenBorderWidth
            });
    }
function ( ) { var dimensionModel = this . dimensionModel ; var headerHeight = dimensionModel . get ( 'headerHeight' ) ; var frozenBorderWidth = dimensionModel . get ( 'frozenBorderWidth' ) ; var resizeHandleView = this . viewFactory . createHeaderResizeHandle ( frameConst . L , [ headerHeight ] , true ) ; var $resizeHanlder = resizeHandleView . render ( ) . $el ; var $frozenBorder = createDiv ( classNameConst . FROZEN_BORDER , { marginLeft : - frozenBorderWidth , width : frozenBorderWidth } ) ; this . $el . append ( $resizeHanlder , $frozenBorder ) . find ( '.' + classNameConst . SCROLLBAR_FROZEN_BORDER ) . css ( { marginLeft : - ( frozenBorderWidth + CELL_BORDER_WIDTH ) , width : frozenBorderWidth } ) ; }
Create frozen border and set styles
@param {boolean} scrollX - Whether the grid has x-scroll or not
@private
Create frozen border and set styles