               if (col.rightAlign)
                        classes += " rightAlign"
                    if (isLastRow)
                        classes += " bottomBorder"
                    if (classes.length > 0)
                        th.setAttribute("class", classes)
                    tr.appendChild(th)
                }
            }

            // body
            let body = document.createElement("tbody")
            table.appendChild(body)

            let columns = renderData.pop()
            f