@staticmethod
def create_htmltable(command_output_array_table, first_row_html_header):
    """
           Add to output windows an HTML table with the command
        :param context:
        :param command_output:
        """
    str = '<table style="color:black" border="1" cellpadding="5">\n'
    str += '<thead>\n'
    if first_row_html_header:
        if len(command_output_array_table) > 0:
            for th in command_output_array_table[0]:
                str += '<th>' + th + '</th>\n'
    str += '</thead>\n'
    str += '<tbody>\n'
    for idx, row in enumerate(command_output_array_table):
        if not first_row_html_header or idx > 0:
            str += '<tr>\n'
            for val in row:
                str += '<td>' + val + '</td>\n'
            str += '</tr>\n'
    str += '</tbody>\n</table>\n'
    return str
