function createButtonRow(parent, id, caption, callback) {
    let lContent = "<div class='column left'><label for='" + id + "'>" + id + "<label></div>";
    let rContent = "<div class='column right'>";
    rContent += "<button id='" + id + "'>" + caption + "</button>";
    rContent += "</div>";
    let row = createRow(lContent, rContent);
    row.id = "row" + id;
    row.className = "row";
    parent.appendChild(row);
    let b = document.getElementById(id);
    if (b) {
        b.onclick = callback;
    }
}
/**
 * createRowButton adds a button to the control list
 * @param {HTMLElement} parent The parent HTMLElement
 * @param {string} caption The caption of the button
 * @param {string} id The name of the button's id
 * @param {function} callback A callback function if this gets clicked
 */
createRowButton adds a button to the control list
@param {HTMLElement} parent The parent HTMLElement
@param {string} caption The caption of the button
@param {string} id The name of the button's id
@param {function} callback A callback function if this gets clicked
createRowButton adds a button to the control list @param { HTMLElement } parent The parent HTMLElement @param { string } caption The caption of the button @param { string } id The name of the button ' s id @param { function } callback A callback function if this gets clicked
function createButtonRow(parent, id, caption, callback) {
    let lContent = "<div class='column left'><label for='" + id + "'>" + id + "<label></div>";
    let rContent = "<div class='column right'>";
    rContent += "<button id='" + id + "'>" + caption + "</button>";
    rContent += "</div>";
    let row = createRow(lContent, rContent);
    row.id = "row" + id;
    row.className = "row";
    parent.appendChild(row);
    let b = document.getElementById(id);
    if (b) {
        b.onclick = callback;
    }
}
function createButtonRow ( parent , id , caption , callback ) { let lContent = "<div class='column left'><label for='" + id + "'>" + id + "<label></div>" ; let rContent = "<div class='column right'>" ; rContent += "<button id='" + id + "'>" + caption + "</button>" ; rContent += "</div>" ; let row = createRow ( lContent , rContent ) ; row . id = "row" + id ; row . className = "row" ; parent . appendChild ( row ) ; let b = document . getElementById ( id ) ; if ( b ) { b . onclick = callback ; } }
createRowButton adds a button to the control list
 @param {HTMLElement} parent The parent HTMLElement
 @param {string} caption The caption of the button
 @param {string} id The name of the button's id
 @param {function} callback A callback function if this gets clicked
createRowButton adds a button to the control list @param { HTMLElement } parent The parent HTMLElement @param { string } caption The caption of the button @param { string } id The name of the button ' s id @param { function } callback A callback function if this gets clicked