t
            $(".pivot-wrapper").hide();

            // Determine current container and row config
            let containerId = "";
            let rowsConfig = [];

            if (model === "candidate") {
                containerId = "pivot-candidate";
                rowsConfig = ["Recruitment","Job Position","Department","Candidate","Gender","Email"];
            } else if (model === "recruitment") {
                containerId = "pivot-recruitment";
                rowsConfig = ["Recruitment","Vaca