GetOrgChart primaryColumns option

GetOrgChart documentation, API reference, primaryColumns option

HTML

<script src="http://www.getorgchart.com/GetOrgChart/getorgchart/getorgchart.js"></script>
<link rel="stylesheet" href="http://www.getorgchart.com/GetOrgChart/getorgchart/getorgchart.css">
<script src="https://fonts.googleapis.com/css?family=Roboto:400,500,700"></script>
<link href='http://fonts.googleapis.com/css?family=Roboto:400,500,700' rel='stylesheet' type='text/css'>
<div id="people" class=""></div>

CSS

html, body {
    margin: 0px;
    padding: 0px;
    height: 100%;
    overflow: hidden;
    font-family: 'Roboto', sans-serif;
}
#people {
    width: 100%;
    height: 100%;
}
   .get-bmall.get-org-chart .get-oc-c,
    .get-bmall.get-org-chart .get-oc-tb,
    .get-bmall.get-org-chart input,
    .get-bmall.get-org-chart table,
    .get-bmall.get-org-chart a {
        font-family: 'Roboto', sans-serif;
    }
    /*background*/
    .get-bmall.get-org-chart {
        background-color: #ffffff;
    }
        /* toolbar background */
        .get-bmall.get-org-chart .get-oc-tb {
            background-color: #ffffff;
            height: 46px;
            border-bottom: 1px solid #dddddd;
        }

            .get-bmall.get-org-chart .get-oc-tb input[type="text"] {
                background-color: #ffffff;
                background-image: none;
                border: 1px solid #CCCCCC;
                border-radius: 4px;
                box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
                color: #555555;
                display: block;
                font-size: 14px;
                height: 36px;
                line-height: 1.42857;
                padding: 6px 12px;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
                height: 36px;
                margin: 0;
            }

        /* info box */
        .get-bmall.get-org-chart .get-oc-c .get-box {
            fill: #ffffff;
            stroke: #007BC3;
            box-shadow: 0px 0px 32px -12px #000000;
        }

        .get-bmall.get-org-chart .get-user-logo {
            fill: #BFE5FF;
        }

        .get-bmall.get-org-chart .get-oc-g th {
            background-color: #0072C6;
        }

        .get-bmall.get-org-chart .get-def-stop-1 {
            stop-color: #015593;
        }

        .get-bmall.get-org-chart .get-def-stop-2 {
            stop-color: #0072C6;
        }

       .get-bmall.get-org-chart input,
   ...

JavaScript

$("#people").getOrgChart({
    theme: "bmall",
    primaryColumns: ["name", "title", "location", "department", "phone", "email"],
    dataSource:

    [{
        "id": 1,
        "parentId": null,
        "name": "John Doe",
        "positionId": "771",
        "title": "Vice-President",
        "location": "Dallas, TX",
        "department": "IT-Dallas",
        "phone": "(333)-444-6363",
        "email": "[email protected]",
        "image": ""
    }]
});