();

            let containerId = "";
            let rowsConfig = [];

            if (selectedModel === "candidate") {
                containerId = "pivot-candidate";
                rowsConfig = ["Recruitment","Job Position","Department","Candidate","Gender","Email"];
            } else if (selectedModel === "recruitment") {
                containerId = "pivot-recruitment";
                rowsConfig = ["Recruitment","Vacancy","Manager","Job Position","Start Date","End Date"];
            } else if (s