Skip to content

[Enhancement] Make formatting for Table.From() path easier #29

@douglasg14b

Description

@douglasg14b

This issue highlighted that this path may be awkward: #28

            var table = new Table(TableConfig.Unicode());
            table.From(statistics.ToArray());
            
            // Enable inner formatting for all columns.
            foreach (var header in table.Headers)
                header.RowsFormat.InnerFormatting = true;
            
            Console.Write(table.ToString());   

Perhaps the From() method could accept some parameters that apply to all columns?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions