20250109 - 각 리전의 높이 Height 맞추기

JS Page Load :


function equalizeHeight() {
    let regionA = apex.jQuery('#SID_MAIN');
    let regionB = apex.jQuery('#SID_SIDE');
    let maxHeightAB = Math.max(regionA.height(), regionB.height());

    regionA.height(maxHeightAB);
    regionB.height(maxHeightAB);

    let region1 = apex.jQuery('#SID_R1');
    let region2 = apex.jQuery('#SID_R2');
    let maxHeight = Math.max(region1.height(), region2.height());
   
    region1.height(maxHeight);
    region2.height(maxHeight);
}

apex.jQuery(window).on('apexwindowresized load', equalizeHeight);






참고

댓글 없음:

댓글 쓰기

20250202 - IG 다운로드 버튼 바로 보이기

JS initialization Code : function (config) {     var $ = apex.jQuery,         toolbarData = $.apex.interactiveGrid.copyDefaultToolbar(),  ...