 0;
                var body = null;
                table.innerHTML = "";
                let scdg_json = {{ scdg_params|json }};
                let tr = table.createTHead();
                for (let row in scdg_json) {
                    let th = document.createElement("th");
                    th.innerHTML = row;
                    tr.appendChild(th);                       
                    index++;
                }
                body = table.createTBody();
                tr = body.insertRow()