Skip to content

Merging behavior on Footer #285

Closed
Closed

Description

@EppO

Hi,

Thanks for this awesome library, I love it!
I run into a cosmetic issue though, I would like to be able to merge the cells in the footer like I want.
I can do it when the merged columns are first, but not when they're last.
Here is an example:

┌─────────────┬──────────┬───────────────┬─────────┐
│ DEPARTMENT  │ DIVISION │     TEAM      │  LEAD   │
├─────────────┼──────────┼───────────────┼─────────┤
│ Engineering │ Backend  │ API Team      │ Alice   │
│             │          ├───────────────┼─────────┤
│             │          │ Database Team │ Bob     │
│             ├──────────┼───────────────┼─────────┤
│             │ Frontend │ UI Team       │ Charlie │
├─────────────┼──────────┼───────────────┼─────────┤
│ Marketing   │ Digital  │ SEO Team      │ Dave    │
│             │          ├───────────────┼─────────┤
│             │          │ Content Team  │ Eve     │
├─────────────┴──────────┴───────────────┼─────────┤
│                            Total Teams │       5 │
└────────────────────────────────────────┴─────────┘

the first 2 "empty" columns are getting merged with the first non-empty one table.Footer([]string{"", "", "Total Teams", "5"})

in that example:

┌─────────────┬──────────┬───────────────┬─────────┐
│ DEPARTMENT  │ DIVISION │     TEAM      │  LEAD   │
├─────────────┼──────────┼───────────────┼─────────┤
│ Engineering │ Backend  │ API Team      │ Alice   │
│             │          ├───────────────┼─────────┤
│             │          │ Database Team │ Bob     │
│             ├──────────┼───────────────┼─────────┤
│             │ Frontend │ UI Team       │ Charlie │
├─────────────┼──────────┼───────────────┼─────────┤
│ Marketing   │ Digital  │ SEO Team      │ Dave    │
│             │          ├───────────────┼─────────┤
│             │          │ Content Team  │ Eve     │
├─────────────┼──────────┼───────────────┼─────────┤
│ Total Teams │        5 │               │         │
└─────────────┴──────────┴───────────────┴─────────┘

the 3 last columns are not merged at all table.Footer([]string{"Total Teams", "5"})

here is the complete code to reproduce:

package main

import (
 "os"

 "github.com/olekukonko/tablewriter"
 "github.com/olekukonko/tablewriter/renderer"
 "github.com/olekukonko/tablewriter/tw"
)

func main() {
 data := [][]string{
  {"Engineering", "Backend", "API Team", "Alice"},
  {"Engineering", "Backend", "Database Team", "Bob"},
  {"Engineering", "Frontend", "UI Team", "Charlie"},
  {"Marketing", "Digital", "SEO Team", "Dave"},
  {"Marketing", "Digital", "Content Team", "Eve"},
 }

 table := tablewriter.NewTable(os.Stdout,
  tablewriter.WithRenderer(renderer.NewBlueprint(tw.Rendition{
   Settings: tw.Settings{Separators: tw.Separators{BetweenRows: tw.On}},
  })),
  tablewriter.WithConfig(tablewriter.Config{
   Header: tw.CellConfig{Alignment: tw.CellAlignment{Global: tw.AlignCenter}},
   Row: tw.CellConfig{
    Formatting: tw.CellFormatting{MergeMode: tw.MergeHierarchical},
    Alignment:  tw.CellAlignment{Global: tw.AlignLeft},
   },
   Footer: tw.CellConfig{
    Formatting: tw.CellFormatting{
     MergeMode: tw.MergeHorizontal,
    },
   },
  }),
 )
 table.Header([]string{"Department", "Division", "Team", "Lead"})
 table.Bulk(data)
 table.Footer([]string{"Total Teams", "5"})
 table.Render()
}

Activity

  1. EppO commented on Jul 17, 2025

    @EppO
    ContributorAuthor

    I found a workaround repeating the value I want to merge in the other columns like so:

    package main
    
    import (
     "os"
    
     "github.com/olekukonko/tablewriter"
     "github.com/olekukonko/tablewriter/renderer"
     "github.com/olekukonko/tablewriter/tw"
    )
    
    func main() {
     data := [][]string{
      {"Engineering", "Backend", "API Team", "Alice"},
      {"Engineering", "Backend", "Database Team", "Bob"},
      {"Engineering", "Frontend", "UI Team", "Charlie"},
      {"Marketing", "Digital", "SEO Team", "Dave"},
      {"Marketing", "Digital", "Content Team", "Eve"},
     }
    
     table := tablewriter.NewTable(os.Stdout,
      tablewriter.WithRenderer(renderer.NewBlueprint(tw.Rendition{
       Settings: tw.Settings{Separators: tw.Separators{BetweenRows: tw.On}},
      })),
      tablewriter.WithConfig(tablewriter.Config{
       Header: tw.CellConfig{Alignment: tw.CellAlignment{Global: tw.AlignCenter}},
       Row: tw.CellConfig{
        Formatting: tw.CellFormatting{MergeMode: tw.MergeHierarchical},
        Alignment:  tw.CellAlignment{Global: tw.AlignLeft},
       },
       Footer: tw.CellConfig{
        Alignment: tw.CellAlignment{Global: tw.AlignLeft},
        Formatting: tw.CellFormatting{
         MergeMode: tw.MergeHorizontal,
        },
       },
      }),
     )
     table.Header([]string{"Department", "Division", "Team", "Lead"})
     table.Bulk(data)
     table.Footer([]string{"Total Teams", "5", "5", "5"})
     table.Render()
    }

    but in that case, it doesn't follow the specified alignment AlignLeft:

    ┌─────────────┬──────────┬───────────────┬─────────┐
    │ DEPARTMENT  │ DIVISION │     TEAM      │  LEAD   │
    ├─────────────┼──────────┼───────────────┼─────────┤
    │ Engineering │ Backend  │ API Team      │ Alice   │
    │             │          ├───────────────┼─────────┤
    │             │          │ Database Team │ Bob     │
    │             ├──────────┼───────────────┼─────────┤
    │             │ Frontend │ UI Team       │ Charlie │
    ├─────────────┼──────────┼───────────────┼─────────┤
    │ Marketing   │ Digital  │ SEO Team      │ Dave    │
    │             │          ├───────────────┼─────────┤
    │             │          │ Content Team  │ Eve     │
    ├─────────────┼──────────┴───────────────┴─────────┤
    │ Total Teams │                                  5 │
    └─────────────┴────────────────────────────────────┘
    

    If I remove the MergeHorizontal setting, I can see the repeated values have the correct alignment, there seems to be a bug when MergeHorizontal is involved in the alignment calculation

  2. EppO commented on Jul 17, 2025

    @EppO
    ContributorAuthor

    Running in debug, I see these interesting logs:

    [table/blueprint] DEBUG: Starting Footer render: IsSubRow=false, Location=end, Pos=footer
    [table/blueprint] DEBUG: renderLine: Prefix='│' (f.width 1)
    [table/blueprint] DEBUG: renderLine: Regular col 0, visualWidth 13
    [table/blueprint] DEBUG: Formatting cell: content='Total Teams', width=13, align=left, padding={L:' ' R:' '}
    [table/blueprint] DEBUG: Available content width: 11
    [table/blueprint] DEBUG: Total padding width: 2
    [table/blueprint] DEBUG: Applied right padding: ' ' for 1 width
    [table/blueprint] DEBUG: Formatted cell final result: ' Total Teams ' (target width 13)
    [table/blueprint] DEBUG: renderLine: Rendered col 0, formattedCell=' Total Teams ' (f.width 13), totalLineWidth=14
    [table/blueprint] DEBUG: renderLine: Rendered regular col 0 (visualWidth 13, align left): ' Total Teams '
    [table/blueprint] DEBUG: renderLine: Added separator '│' before col 1 (f.width 1)
    [table/blueprint] DEBUG: renderLine: H/F HMerge col 1, span 3, pre-adjusted visualWidth 36
    [table/blueprint] DEBUG: renderLine: Applying AlignRight HMerge/TOTAL override for Footer col 1. Original/default align was: left
    [table/blueprint] DEBUG: Formatting cell: content='5', width=36, align=right, padding={L:' ' R:' '}
    [table/blueprint] DEBUG: Available content width: 34
    [table/blueprint] DEBUG: Total padding width: 35
    [table/blueprint] DEBUG: Applied left padding: ' ' for 34 width
    [table/blueprint] DEBUG: Formatted cell final result: '                                  5 ' (target width 36)
    [table/blueprint] DEBUG: renderLine: Rendered col 1, formattedCell='                                  5 ' (f.width 36), totalLineWidth=51
    [table/blueprint] DEBUG: renderLine: Rendered HMerge START col 1 (span 3, visualWidth 36, align right): '                                  5 '
    [table/blueprint] DEBUG: renderLine: Suffix='│' (f.width 1)
    [table/blueprint] DEBUG: renderLine: Final rendered line: '│ Total Teams │                                  5 │' (total width 52)
    [table/blueprint] DEBUG: Completed Footer render
    

    It states Original/default align was: left but it overrides it Applying AlignRight HMerge as the following line says align=right.
    Then it applies the left padding but I assume it's because it's in right alignment mode.
    Why does the horizontal merge switches the alignment to right only?

  3. added a commit that references this issue on Jul 18, 2025
  4. olekukonko commented on Jul 18, 2025

    @olekukonko
    Owner

    Hi @EppO, thanks for pointing this out.

    As you can see, the message states:
    Applying AlignRight HMerge/TOTAL override for Footer col 1. Original/default align was: left.

    This was part of the initial behavior defined for merged cells in the footer. However, I've decided to update the logic so that the override is now only applied when align == tw.AlignNone.

    With this update

    package main
    
    import (
    	"os"
    
    	"github.com/olekukonko/tablewriter"
    	"github.com/olekukonko/tablewriter/renderer"
    	"github.com/olekukonko/tablewriter/tw"
    )
    
    func main() {
    	data := [][]string{
    		{"Engineering", "Backend", "API Team", "Alice"},
    		{"Engineering", "Backend", "Database Team", "Bob"},
    		{"Engineering", "Frontend", "UI Team", "Charlie"},
    		{"Marketing", "Digital", "SEO Team", "Dave"},
    		{"Marketing", "Digital", "Content Team", "Eve"},
    	}
    
    	table := tablewriter.NewTable(os.Stdout,
    		tablewriter.WithRenderer(renderer.NewBlueprint(tw.Rendition{
    			Settings: tw.Settings{Separators: tw.Separators{BetweenRows: tw.On}},
    		})),
    		tablewriter.WithConfig(tablewriter.Config{
    			Header: tw.CellConfig{Alignment: tw.CellAlignment{Global: tw.AlignCenter}},
    			Row: tw.CellConfig{
    				Formatting: tw.CellFormatting{MergeMode: tw.MergeHierarchical},
    				Alignment:  tw.CellAlignment{Global: tw.AlignLeft},
    			},
    			Footer: tw.CellConfig{
    				Alignment: tw.CellAlignment{Global: tw.AlignLeft},
    				Formatting: tw.CellFormatting{
    					MergeMode: tw.MergeHorizontal,
    				},
    			},
    			Debug: true,
    		}),
    	)
    	table.Header([]string{"Department", "Division", "Team", "Lead"})
    	table.Bulk(data)
    	table.Footer([]string{"Total", "5", "5", "5"})
    	table.Render()
    }

    output

    ┌─────────────┬──────────┬───────────────┬─────────┐
    │ DEPARTMENT  │ DIVISION │     TEAM      │  LEAD   │
    ├─────────────┼──────────┼───────────────┼─────────┤
    │ Engineering │ Backend  │ API Team      │ Alice   │
    │             │          ├───────────────┼─────────┤
    │             │          │ Database Team │ Bob     │
    │             ├──────────┼───────────────┼─────────┤
    │             │ Frontend │ UI Team       │ Charlie │
    ├─────────────┼──────────┼───────────────┼─────────┤
    │ Marketing   │ Digital  │ SEO Team      │ Dave    │
    │             │          ├───────────────┼─────────┤
    │             │          │ Content Team  │ Eve     │
    ├─────────────┼──────────┴───────────────┴─────────┤
    │ Total       │ 5                                  │
    └─────────────┴────────────────────────────────────┘
    
  5. added this to the v1.0.9 milestone on Jul 18, 2025
  6. EppO commented on Jul 18, 2025

    @EppO
    ContributorAuthor

    That's exactly what I wanted to achieve! Thank you so much for the quick fix!
    One very last thing I wanted to discuss to make that library perfect: vertical alignment. To make it look like

    ┌─────────────┬──────────┬───────────────┬─────────┐
    │ DEPARTMENT  │ DIVISION │     TEAM      │  LEAD   │
    ├─────────────┼──────────┼───────────────┼─────────┤
    │             │          │ API Team      │ Alice   │
    │             │ Backend  ├───────────────┼─────────┤
    │ Engineering │          │ Database Team │ Bob     │
    │             ├──────────┼───────────────┼─────────┤
    │             │ Frontend │ UI Team       │ Charlie │
    ├─────────────┼──────────┼───────────────┼─────────┤
    │             │          │ SEO Team      │ Dave    │
    │  Marketing  │ Digital  ├───────────────┼─────────┤
    │             │          │ Content Team  │ Eve     │
    ├─────────────┼──────────┴───────────────┴─────────┤
    │ Total       │ 5                                  │
    └─────────────┴────────────────────────────────────┘
    

    I don't think that's possible today.
    Would like me to open another issue to track as feature request?

  7. olekukonko commented on Jul 18, 2025

    @olekukonko
    Owner

    I initially explored vertical alignment but discovered it was expensive. To properly center text vertically in merged cells, the renderer must know the total visual height of the span before rendering the first line requiring multiple passes and heavy use of buffered iterators.

    To optimize this, I implemented olekukonko/it, which enabled lookahead ("peeking") without consuming the iterator. While functional, Introduced significant complexity hence I deemed the trade-off unjustified .

    Logical vs. Visual Height Mismatch

    ┌─────────────┬──────────┬───────────────┬─────────┐
    │ ...         │ ...      │ ...           │ ...     │
    ├─────────────┼──────────┼───────────────┼─────────┤
    │             │          │ API Team      │ Alice   │
    │ Engineering │ Backend  ├───────────────┼─────────┤  <-- The text "Engineering" is vertically centered
    │             │          │ Database Team │ Bob     │
    ├─────────────┼──────────┼───────────────┼─────────┤
    │             │ Frontend │ UI Team       │ Charlie │
    └─────────────┴──────────┴───────────────┴─────────┘
    
    ┌─────────────┬──────────┬───────────────────┬─────────┐
    │             │          │ This is a long    │ Alice   │
    │             │          │ description for   │         │
    │             │          │ the API team that │         │
    │ Engineering │ Backend  │ wraps to 3 lines. │         │
    │             │          ├───────────────────┼─────────┤
    │             │          │ Database Team     │ Bob     │
    │             ├──────────┼───────────────────┼─────────┤
    │             │ Frontend │ UI Team           │ Charlie │
    └─────────────┴──────────┴───────────────────┴─────────┘
    
    • applyVerticalMerges|applyHierarchicalMerges knows a cell spans N logical rows but not their visual height due to word-wrapping
    • Example: One row in a merge might be 1 line tall, while another spans 3 lines due to wrapped text in another column.
    • Without multi-pass logic to precompute total visual height, alignment remains inconsistent.
    • Determining box-drawing characters (┴, ┬, ├, ┤, ┼) during merges is nontrivial.
    • We have to Introduce state-aware batch rendering (e.g., pre-calculating visual heights).
    • Redesign interfaces to handle multi-pass logic without breaking existing integrations.

    This risks breaking changes, especially in the renderer’s public functions & interface, major reimplementation, and careful versioning to avoid something like #270 happening again. Hence i believe, simplicity and performance take precedence over edge-case alignment. If demand grows, we could revisit this.

  8. EppO commented on Jul 18, 2025

    @EppO
    ContributorAuthor

    That's completely fair. Thank you for taking the time to provide such clear and thorough explanation. Really appreciate it!
    I will close that comment when 1.0.9 is out

  9. added a commit that references this issue on Jul 28, 2025
  10. EppO commented on Aug 25, 2025

    @EppO
    ContributorAuthor

    @olekukonko: I just tried 1.0.9 and I found it doesn't work when using renderer.NewColorized. It works well with renderer.NewBlueprint though.

    here are the logs in debug when using renderer.NewColorized

    ┌─────────────┬──────────┬───────────────┬─────────┐
    │ DEPARTMENT  │ DIVISION │     TEAM      │  LEAD   │
    ├─────────────┼──────────┼───────────────┼─────────┤
    │ Engineering │ Backend  │ API Team      │ Alice   │
    │             │          ├───────────────┼─────────┤
    │             │          │ Database Team │ Bob     │
    │             ├──────────┼───────────────┼─────────┤
    │             │ Frontend │ UI Team       │ Charlie │
    ├─────────────┼──────────┼───────────────┼─────────┤
    │ Marketing   │ Digital  │ SEO Team      │ Dave    │
    │             │          ├───────────────┼─────────┤
    │             │          │ Content Team  │ Eve     │
    ├─────────────┼──────────┴───────────────┴─────────┤
    │ Total       │                                  5 │
    └─────────────┴────────────────────────────────────┘
    [table] INFO: Environment: LC_CTYPE=, LANG=en_CA.UTF-8, TERM=xterm-256color
    [table] INFO: Go Runtime: Version=go1.25.0, OS=darwin, Arch=arm64, CPUs=10
    [table] INFO: Table initialized with 2 options
    [table] DEBUG: ensureInitialized called
    [table] DEBUG: Header() method called with raw variadic elements: [[Department Division Team Lead]] (len 1). Streaming: false, Started: false
    [table] DEBUG: Detected single []string argument. Unpacking it (fast path).
    [table] DEBUG: Header() (Batch): Effective cells to process: [Department Division Team Lead]
    [table] DEBUG: convertCellsToStrings: Converting row: [Department Division Team Lead] (type: []interface {})
    [table] DEBUG: convertCellsToStrings: Conversion and filtering completed, raw cells: [Department Division Team Lead]
    [table] DEBUG: prepareContent: Processing cells=[Department Division Team Lead] (streaming: false)
    [table] DEBUG: calculateContentMaxWidth: No width constraints found for column 0
    [table] DEBUG: calculateContentMaxWidth: No width constraints found for column 1
    [table] DEBUG: calculateContentMaxWidth: No width constraints found for column 2
    [table] DEBUG: calculateContentMaxWidth: No width constraints found for column 3
    [table] DEBUG: prepareContent: Content prepared, result 1 lines.
    [table] DEBUG: Header set (batch mode), lines stored: 1. First line if exists: [DEPARTMENT DIVISION TEAM LEAD]
    [table] DEBUG: ensureInitialized called
    [table] DEBUG: Append (Batch) received 1 arguments: [[Engineering Backend API Team Alice]]
    [table] DEBUG: convertCellsToStrings: Converting row: [Engineering Backend API Team Alice] (type: []string)
    [table] DEBUG: convertCellsToStrings: Conversion and filtering completed, raw cells: [Engineering Backend API Team Alice]
    [table] DEBUG: prepareContent: Processing cells=[Engineering Backend API Team Alice] (streaming: false)
    [table] DEBUG: calculateContentMaxWidth: No width constraints found for column 0
    [table] DEBUG: calculateContentMaxWidth: No width constraints found for column 1
    [table] DEBUG: calculateContentMaxWidth: No width constraints found for column 2
    [table] DEBUG: calculateContentMaxWidth: No width constraints found for column 3
    [table] DEBUG: prepareContent: Content prepared, result 1 lines.
    [table] DEBUG: Append (Batch) completed for one row, total rows in table: 1
    [table] DEBUG: ensureInitialized called
    [table] DEBUG: Append (Batch) received 1 arguments: [[Engineering Backend Database Team Bob]]
    [table] DEBUG: convertCellsToStrings: Converting row: [Engineering Backend Database Team Bob] (type: []string)
    [table] DEBUG: convertCellsToStrings: Conversion and filtering completed, raw cells: [Engineering Backend Database Team Bob]
    [table] DEBUG: prepareContent: Processing cells=[Engineering Backend Database Team Bob] (streaming: false)
    [table] DEBUG: calculateContentMaxWidth: No width constraints found for column 0
    [table] DEBUG: calculateContentMaxWidth: No width constraints found for column 1
    [table] DEBUG: calculateContentMaxWidth: No width constraints found for column 2
    [table] DEBUG: calculateContentMaxWidth: No width constraints found for column 3
    [table] DEBUG: prepareContent: Content prepared, result 1 lines.
    [table] DEBUG: Append (Batch) completed for one row, total rows in table: 2
    [table] DEBUG: ensureInitialized called
    [table] DEBUG: Append (Batch) received 1 arguments: [[Engineering Frontend UI Team Charlie]]
    [table] DEBUG: convertCellsToStrings: Converting row: [Engineering Frontend UI Team Charlie] (type: []string)
    [table] DEBUG: convertCellsToStrings: Conversion and filtering completed, raw cells: [Engineering Frontend UI Team Charlie]
    [table] DEBUG: prepareContent: Processing cells=[Engineering Frontend UI Team Charlie] (streaming: false)
    [table] DEBUG: calculateContentMaxWidth: No width constraints found for column 0
    [table] DEBUG: calculateContentMaxWidth: No width constraints found for column 1
    [table] DEBUG: calculateContentMaxWidth: No width constraints found for column 2
    [table] DEBUG: calculateContentMaxWidth: No width constraints found for column 3
    [table] DEBUG: prepareContent: Content prepared, result 1 lines.
    [table] DEBUG: Append (Batch) completed for one row, total rows in table: 3
    [table] DEBUG: ensureInitialized called
    [table] DEBUG: Append (Batch) received 1 arguments: [[Marketing Digital SEO Team Dave]]
    [table] DEBUG: convertCellsToStrings: Converting row: [Marketing Digital SEO Team Dave] (type: []string)
    [table] DEBUG: convertCellsToStrings: Conversion and filtering completed, raw cells: [Marketing Digital SEO Team Dave]
    [table] DEBUG: prepareContent: Processing cells=[Marketing Digital SEO Team Dave] (streaming: false)
    [table] DEBUG: calculateContentMaxWidth: No width constraints found for column 0
    [table] DEBUG: calculateContentMaxWidth: No width constraints found for column 1
    [table] DEBUG: calculateContentMaxWidth: No width constraints found for column 2
    [table] DEBUG: calculateContentMaxWidth: No width constraints found for column 3
    [table] DEBUG: prepareContent: Content prepared, result 1 lines.
    [table] DEBUG: Append (Batch) completed for one row, total rows in table: 4
    [table] DEBUG: ensureInitialized called
    [table] DEBUG: Append (Batch) received 1 arguments: [[Marketing Digital Content Team Eve]]
    [table] DEBUG: convertCellsToStrings: Converting row: [Marketing Digital Content Team Eve] (type: []string)
    [table] DEBUG: convertCellsToStrings: Conversion and filtering completed, raw cells: [Marketing Digital Content Team Eve]
    [table] DEBUG: prepareContent: Processing cells=[Marketing Digital Content Team Eve] (streaming: false)
    [table] DEBUG: calculateContentMaxWidth: No width constraints found for column 0
    [table] DEBUG: calculateContentMaxWidth: No width constraints found for column 1
    [table] DEBUG: calculateContentMaxWidth: No width constraints found for column 2
    [table] DEBUG: calculateContentMaxWidth: No width constraints found for column 3
    [table] DEBUG: prepareContent: Content prepared, result 1 lines.
    [table] DEBUG: Append (Batch) completed for one row, total rows in table: 5
    [table] DEBUG: ensureInitialized called
    [table] DEBUG: Footer() method called with raw variadic elements: [[Total 5 5 5]] (len 1). Streaming: false, Started: false
    [table] DEBUG: Detected single []string argument. Unpacking it (fast path).
    [table] DEBUG: Footer() (Batch): Effective cells to process: [Total 5 5 5]
    [table] DEBUG: convertCellsToStrings: Converting row: [Total 5 5 5] (type: []interface {})
    [table] DEBUG: convertCellsToStrings: Conversion and filtering completed, raw cells: [Total 5 5 5]
    [table] DEBUG: prepareContent: Processing cells=[Total 5 5 5] (streaming: false)
    [table] DEBUG: calculateContentMaxWidth: No width constraints found for column 0
    [table] DEBUG: calculateContentMaxWidth: No width constraints found for column 1
    [table] DEBUG: calculateContentMaxWidth: No width constraints found for column 2
    [table] DEBUG: calculateContentMaxWidth: No width constraints found for column 3
    [table] DEBUG: prepareContent: Content prepared, result 1 lines.
    [table] DEBUG: Footer set (batch mode), lines stored: 1. First line if exists: [Total 5 5 5]
    [table] DEBUG: ensureInitialized called
    [table] DEBUG: Max columns: 4
    [table] DEBUG: Render(): Set batchRenderNumCols to 4 and isBatchRenderNumColsSet to true.
    [table] DEBUG: No caption detected. Rendering table core directly to writer.
    [table] DEBUG: Max columns: 4
    [table] DEBUG: prepareContexts: Original number of columns: 4
    [table] DEBUG: getEmptyColumnInfo: Checking 5 rows for 4 columns...
    [table] DEBUG: getEmptyColumnInfo: Found content in row 0, line 0, col 0 ('Engineering'). Marked as not empty.
    [table] DEBUG: getEmptyColumnInfo: Found content in row 0, line 0, col 1 ('Backend'). Marked as not empty.
    [table] DEBUG: getEmptyColumnInfo: Found content in row 0, line 0, col 2 ('API Team'). Marked as not empty.
    [table] DEBUG: getEmptyColumnInfo: Found content in row 0, line 0, col 3 ('Alice'). Marked as not empty.
    [table] DEBUG: getEmptyColumnInfo: Detection complete. isEmpty: [false false false false], visibleColCount: 4
    [table] DEBUG: calculateAndNormalizeWidths: Computing and normalizing widths for 4 columns. Compact: false
    [table] DEBUG: Updating widths for row: [DEPARTMENT DIVISION TEAM LEAD]
    [table] DEBUG:   Col 0: Using global padding: L:' ' R:' '
    [table] DEBUG:   Col 0: Updated width from 0 to 12 (content:10 + padL:1 + padR:1) for cell 'DEPARTMENT'
    [table] DEBUG:   Col 1: Using global padding: L:' ' R:' '
    [table] DEBUG:   Col 1: Updated width from 0 to 10 (content:8 + padL:1 + padR:1) for cell 'DIVISION'
    [table] DEBUG:   Col 2: Using global padding: L:' ' R:' '
    [table] DEBUG:   Col 2: Updated width from 0 to 6 (content:4 + padL:1 + padR:1) for cell 'TEAM'
    [table] DEBUG:   Col 3: Using global padding: L:' ' R:' '
    [table] DEBUG:   Col 3: Updated width from 0 to 6 (content:4 + padL:1 + padR:1) for cell 'LEAD'
    [table] DEBUG: Updating widths for row: [Engineering Backend API Team Alice]
    [table] DEBUG:   Col 0: Using global padding: L:' ' R:' '
    [table] DEBUG:   Col 0: Updated width from 0 to 13 (content:11 + padL:1 + padR:1) for cell 'Engineering'
    [table] DEBUG:   Col 1: Using global padding: L:' ' R:' '
    [table] DEBUG:   Col 1: Updated width from 0 to 9 (content:7 + padL:1 + padR:1) for cell 'Backend'
    [table] DEBUG:   Col 2: Using global padding: L:' ' R:' '
    [table] DEBUG:   Col 2: Updated width from 0 to 10 (content:8 + padL:1 + padR:1) for cell 'API Team'
    [table] DEBUG:   Col 3: Using global padding: L:' ' R:' '
    [table] DEBUG:   Col 3: Updated width from 0 to 7 (content:5 + padL:1 + padR:1) for cell 'Alice'
    [table] DEBUG: Updating widths for row: [Engineering Backend Database Team Bob]
    [table] DEBUG:   Col 0: Using global padding: L:' ' R:' '
    [table] DEBUG:   Col 0: Updated width from 0 to 13 (content:11 + padL:1 + padR:1) for cell 'Engineering'
    [table] DEBUG:   Col 1: Using global padding: L:' ' R:' '
    [table] DEBUG:   Col 1: Updated width from 0 to 9 (content:7 + padL:1 + padR:1) for cell 'Backend'
    [table] DEBUG:   Col 2: Using global padding: L:' ' R:' '
    [table] DEBUG:   Col 2: Updated width from 0 to 15 (content:13 + padL:1 + padR:1) for cell 'Database Team'
    [table] DEBUG:   Col 3: Using global padding: L:' ' R:' '
    [table] DEBUG:   Col 3: Updated width from 0 to 5 (content:3 + padL:1 + padR:1) for cell 'Bob'
    [table] DEBUG: Updating widths for row: [Engineering Frontend UI Team Charlie]
    [table] DEBUG:   Col 0: Using global padding: L:' ' R:' '
    [table] DEBUG:   Col 0: Updated width from 0 to 13 (content:11 + padL:1 + padR:1) for cell 'Engineering'
    [table] DEBUG:   Col 1: Using global padding: L:' ' R:' '
    [table] DEBUG:   Col 1: Updated width from 0 to 10 (content:8 + padL:1 + padR:1) for cell 'Frontend'
    [table] DEBUG:   Col 2: Using global padding: L:' ' R:' '
    [table] DEBUG:   Col 2: Updated width from 0 to 9 (content:7 + padL:1 + padR:1) for cell 'UI Team'
    [table] DEBUG:   Col 3: Using global padding: L:' ' R:' '
    [table] DEBUG:   Col 3: Updated width from 0 to 9 (content:7 + padL:1 + padR:1) for cell 'Charlie'
    [table] DEBUG: Updating widths for row: [Marketing Digital SEO Team Dave]
    [table] DEBUG:   Col 0: Using global padding: L:' ' R:' '
    [table] DEBUG:   Col 0: Updated width from 0 to 11 (content:9 + padL:1 + padR:1) for cell 'Marketing'
    [table] DEBUG:   Col 1: Using global padding: L:' ' R:' '
    [table] DEBUG:   Col 1: Updated width from 0 to 9 (content:7 + padL:1 + padR:1) for cell 'Digital'
    [table] DEBUG:   Col 2: Using global padding: L:' ' R:' '
    [table] DEBUG:   Col 2: Updated width from 0 to 10 (content:8 + padL:1 + padR:1) for cell 'SEO Team'
    [table] DEBUG:   Col 3: Using global padding: L:' ' R:' '
    [table] DEBUG:   Col 3: Updated width from 0 to 6 (content:4 + padL:1 + padR:1) for cell 'Dave'
    [table] DEBUG: Updating widths for row: [Marketing Digital Content Team Eve]
    [table] DEBUG:   Col 0: Using global padding: L:' ' R:' '
    [table] DEBUG:   Col 0: Updated width from 0 to 11 (content:9 + padL:1 + padR:1) for cell 'Marketing'
    [table] DEBUG:   Col 1: Using global padding: L:' ' R:' '
    [table] DEBUG:   Col 1: Updated width from 0 to 9 (content:7 + padL:1 + padR:1) for cell 'Digital'
    [table] DEBUG:   Col 2: Using global padding: L:' ' R:' '
    [table] DEBUG:   Col 2: Updated width from 0 to 14 (content:12 + padL:1 + padR:1) for cell 'Content Team'
    [table] DEBUG:   Col 3: Using global padding: L:' ' R:' '
    [table] DEBUG:   Col 3: Updated width from 0 to 5 (content:3 + padL:1 + padR:1) for cell 'Eve'
    [table] DEBUG: Updating widths for row: [Total 5 5 5]
    [table] DEBUG:   Col 0: Using global padding: L:' ' R:' '
    [table] DEBUG:   Col 0: Updated width from 0 to 7 (content:5 + padL:1 + padR:1) for cell 'Total'
    [table] DEBUG:   Col 1: Using global padding: L:' ' R:' '
    [table] DEBUG:   Col 1: Updated width from 0 to 3 (content:1 + padL:1 + padR:1) for cell '5'
    [table] DEBUG:   Col 2: Using global padding: L:' ' R:' '
    [table] DEBUG:   Col 2: Updated width from 0 to 3 (content:1 + padL:1 + padR:1) for cell '5'
    [table] DEBUG:   Col 3: Using global padding: L:' ' R:' '
    [table] DEBUG:   Col 3: Updated width from 0 to 3 (content:1 + padL:1 + padR:1) for cell '5'
    [table] DEBUG: Content-based widths: header=map[0:12 1:10 2:6 3:6], row=map[0:13 1:10 2:15 3:9], footer=map[0:7 1:3 2:3 3:3]
    [table] DEBUG: Col 0 width (no merge): 13
    [table] DEBUG: Col 1 width (no merge): 10
    [table] DEBUG: Col 2 width (no merge): 15
    [table] DEBUG: Col 3 width (no merge): 9
    [table] DEBUG: Natural column widths: map[0:13 1:10 2:15 3:9]
    [table] DEBUG: Widths after merged header expansion: map[0:13 1:10 2:15 3:9]
    [table] DEBUG: Final normalized widths: header=map[0:13 1:10 2:15 3:9], row=map[0:13 1:10 2:15 3:9], footer=map[0:13 1:10 2:15 3:9]
    [table] DEBUG: Initial normalized widths (before hiding): H=map[0:13 1:10 2:15 3:9], R=map[0:13 1:10 2:15 3:9], F=map[0:13 1:10 2:15 3:9]
    [table] DEBUG: PrepareWithMerges START: position=header, mergeMode=0
    [table] DEBUG: PrepareWithMerges END: position=header, lines=1, mergeMapH: map[]
    [table] DEBUG: PrepareWithMerges START: position=row, mergeMode=4
    [table] DEBUG: PrepareWithMerges END: position=row, lines=1, mergeMapH: map[]
    [table] DEBUG: PrepareWithMerges START: position=row, mergeMode=4
    [table] DEBUG: PrepareWithMerges END: position=row, lines=1, mergeMapH: map[]
    [table] DEBUG: PrepareWithMerges START: position=row, mergeMode=4
    [table] DEBUG: PrepareWithMerges END: position=row, lines=1, mergeMapH: map[]
    [table] DEBUG: PrepareWithMerges START: position=row, mergeMode=4
    [table] DEBUG: PrepareWithMerges END: position=row, lines=1, mergeMapH: map[]
    [table] DEBUG: PrepareWithMerges START: position=row, mergeMode=4
    [table] DEBUG: PrepareWithMerges END: position=row, lines=1, mergeMapH: map[]
    [table] DEBUG: applyHorizontalMergeWidths: Applying HMerge width recalc for header
    [table] DEBUG: applyHorizontalMergeWidths: Final widths for header: map[0:13 1:10 2:15 3:9]
    [table] DEBUG: Applying hierarchical merges (left-to-right vertical flow - snapshot comparison)
    [table] DEBUG: Created snapshot of original row data for hierarchical merge comparison.
    [table] DEBUG: HCompare: r=1, c=0; current='Engineering', above='Engineering'; match=true; leftCont=false; shouldCont=true
    [table] DEBUG: Hierarchical merge START detected for block ending at or after row 1, col 0 (started at row 0)
    [table] DEBUG: HCompare: r=1, c=1; current='Backend', above='Backend'; match=true; leftCont=true; shouldCont=true
    [table] DEBUG: Hierarchical merge START detected for block ending at or after row 1, col 1 (started at row 0)
    [table] DEBUG: HCompare: r=1, c=2; current='Database Team', above='API Team'; match=false; leftCont=true; shouldCont=false
    [table] DEBUG: HCompare: r=1, c=3; current='Bob', above='Alice'; match=false; leftCont=false; shouldCont=false
    [table] DEBUG: HCompare: r=2, c=0; current='Engineering', above='Engineering'; match=true; leftCont=false; shouldCont=true
    [table] DEBUG: Hierarchical merge CONTINUED row 2, col 0. Block previously started row 0
    [table] DEBUG: HCompare: r=2, c=1; current='Frontend', above='Backend'; match=false; leftCont=true; shouldCont=false
    [table] DEBUG: Finalizing H-merge block: col=1, startRow=0, endRow=1, span=2
    [table] DEBUG:  -> Updated start state: {Present:true Span:2 Start:true End:false}
    [table] DEBUG:  -> Updated end state: {Present:true Span:2 Start:false End:true}
    [table] DEBUG: HCompare: r=2, c=2; current='UI Team', above='Database Team'; match=false; leftCont=false; shouldCont=false
    [table] DEBUG: HCompare: r=2, c=3; current='Charlie', above='Bob'; match=false; leftCont=false; shouldCont=false
    [table] DEBUG: HCompare: r=3, c=0; current='Marketing', above='Engineering'; match=false; leftCont=false; shouldCont=false
    [table] DEBUG: Finalizing H-merge block: col=0, startRow=0, endRow=2, span=3
    [table] DEBUG:  -> Updated start state: {Present:true Span:3 Start:true End:false}
    [table] DEBUG:  -> Updated end state: {Present:true Span:3 Start:false End:true}
    [table] DEBUG: HCompare: r=3, c=1; current='Digital', above='Frontend'; match=false; leftCont=false; shouldCont=false
    [table] DEBUG: HCompare: r=3, c=2; current='SEO Team', above='UI Team'; match=false; leftCont=false; shouldCont=false
    [table] DEBUG: HCompare: r=3, c=3; current='Dave', above='Charlie'; match=false; leftCont=false; shouldCont=false
    [table] DEBUG: HCompare: r=4, c=0; current='Marketing', above='Marketing'; match=true; leftCont=false; shouldCont=true
    [table] DEBUG: Hierarchical merge START detected for block ending at or after row 4, col 0 (started at row 3)
    [table] DEBUG: HCompare: r=4, c=1; current='Digital', above='Digital'; match=true; leftCont=true; shouldCont=true
    [table] DEBUG: Hierarchical merge START detected for block ending at or after row 4, col 1 (started at row 3)
    [table] DEBUG: HCompare: r=4, c=2; current='Content Team', above='SEO Team'; match=false; leftCont=true; shouldCont=false
    [table] DEBUG: HCompare: r=4, c=3; current='Eve', above='Dave'; match=false; leftCont=false; shouldCont=false
    [table] DEBUG: Finalizing H-merge block: col=0, startRow=3, endRow=4, span=2
    [table] DEBUG:  -> Updated start state: {Present:true Span:2 Start:true End:false}
    [table] DEBUG:  -> Updated end state: {Present:true Span:2 Start:false End:true}
    [table] DEBUG: Finalizing H-merge block: col=1, startRow=3, endRow=4, span=2
    [table] DEBUG:  -> Updated start state: {Present:true Span:2 Start:true End:false}
    [table] DEBUG:  -> Updated end state: {Present:true Span:2 Start:false End:true}
    [table] DEBUG: Hierarchical merge processing completed
    [table] DEBUG: Preparing footer with merge mode: 2
    [table] DEBUG: PrepareWithMerges START: position=footer, mergeMode=2
    [table] DEBUG: Checking for horizontal merges (logical cell comparison) for 1 visual lines, 4 columns
    [table] DEBUG: Standard horizontal merge (logical cell): startCol 1, span 3 for content '5'
    [table] DEBUG: PrepareWithMerges END: position=footer, lines=1, mergeMapH: map[1:{true 3 true false} 2:{true 3 false false} 3:{true 3 false true}]
    [table] DEBUG: Base footer widths (normalized from rows/header): map[0:13 1:10 2:15 3:9]
    [table] DEBUG: applyHorizontalMergeWidths: Applying HMerge width recalc for footer
    [table] DEBUG:   -> HMerge detected: startCol=1, span=3, separatorWidth=1
    [table] DEBUG:       -> col 1: adding normalized width 10
    [table] DEBUG:       -> col 2: adding normalized width 15
    [table] DEBUG:       -> col 2: adding separator width 1
    [table] DEBUG:       -> col 3: adding normalized width 9
    [table] DEBUG:       -> col 3: adding separator width 1
    [table] DEBUG:   -> Set footer col 1 width to 36 (merged)
    [table] DEBUG:   -> Set footer col 2 width to 0 (part of merge)
    [table] DEBUG:   -> Set footer col 3 width to 0 (part of merge)
    [table] DEBUG: applyHorizontalMergeWidths: Final widths for footer: map[0:13 1:36 2:0 3:0]
    [table] DEBUG: Footer preparation completed. Final footer widths: map[0:13 1:36 2:0 3:0]
    [table] DEBUG: Footer prepared. Widths before hiding: H=map[0:13 1:10 2:15 3:9], R=map[0:13 1:10 2:15 3:9], F=map[0:13 1:36 2:0 3:0]
    [table] DEBUG: AutoHide is disabled, skipping width adjustment.
    [table] DEBUG: prepareContexts completed all stages.
    [table/colorized] DEBUG: Colorized.Start() called (no-op).
    [table] DEBUG: Rendering header section
    [table] DEBUG: buildAligns INPUT: deprecated Formatting.Alignment=, deprecated ColumnAligns=[], config.Alignment.Global=center, config.Alignment.PerColumn=[]
    [table] DEBUG: getNumColsToUse (batch): Using cached t.batchRenderNumCols: 4 (because isBatchRenderNumColsSet is true)
    [table] DEBUG: Aligns built: map[0:center 1:center 2:center 3:center] (length 4)
    [table] DEBUG: getNumColsToUse (batch): Using cached t.batchRenderNumCols: 4 (because isBatchRenderNumColsSet is true)
    [table] DEBUG: Padding built: map[0:{      true} 1:{      true} 2:{      true} 3:{      true}] (length 4)
    [table] DEBUG: Rendering table top border
    [table/colorized] DEBUG: Line: Starting with Level=0, Location=first, IsSubRow=false, Widths=map[0:13 1:10 2:15 3:9]
    [table/colorized] DEBUG: Line: All keys=[0 1 2 3], Effective keys (width>0)=[0 1 2 3]
    [table/colorized/junction] DEBUG: RenderLeft: Level=0, Location=first, Previous=map[]
    [table/colorized/junction] DEBUG: GetSegment col 0: VPassThruStrict=false -> Colored row symbol '─'
    [table/colorized] DEBUG: Line: Drawing segment for Effective colIdx=0, segment='─', width=13
    [table/colorized] DEBUG: Line: Junction between visible 0 (orig preceding 0) and next visible 1: '┬'
    [table/colorized/junction] DEBUG: GetSegment col 1: VPassThruStrict=false -> Colored row symbol '─'
    [table/colorized] DEBUG: Line: Drawing segment for Effective colIdx=1, segment='─', width=10
    [table/colorized] DEBUG: Line: Junction between visible 1 (orig preceding 1) and next visible 2: '┬'
    [table/colorized/junction] DEBUG: GetSegment col 2: VPassThruStrict=false -> Colored row symbol '─'
    [table/colorized] DEBUG: Line: Drawing segment for Effective colIdx=2, segment='─', width=15
    [table/colorized] DEBUG: Line: Junction between visible 2 (orig preceding 2) and next visible 3: '┬'
    [table/colorized/junction] DEBUG: GetSegment col 3: VPassThruStrict=false -> Colored row symbol '─'
    [table/colorized] DEBUG: Line: Drawing segment for Effective colIdx=3, segment='─', width=9
    [table/colorized/junction] DEBUG: RenderRight: lastColIdx=3, Level=0, Location=first, Previous=map[]
    [table/colorized] DEBUG: Line rendered: ┌─────────────┬──────────┬───────────────┬─────────┐
    [table] DEBUG: buildCellContexts: Building contexts for position=header, rowIdx=0, lineIdx=0
    [table] DEBUG: buildCoreCellContexts: Built cell contexts for 4 columns
    [table/colorized] DEBUG: Starting Header render: IsSubRow=false, Location=first, Pos=header, lines=1, widths=map[0:13 1:10 2:15 3:9]
    [table/colorized] DEBUG: renderLine: Regular col 0, visualWidth 13
    [table/colorized] DEBUG: Formatting cell: content='DEPARTMENT', width=13, align=center, paddingL=' ', paddingR=' ', tintFG=[37 1], tintBG=[40]
    [table/colorized] DEBUG: Formatted cell final result: ' DEPARTMENT  ' (target width 13, display width 13)
    [table/colorized] DEBUG: renderLine: Rendered regular col 0 (visualWidth 13, align center): ' DEPARTMENT  '
    [table/colorized] DEBUG: renderLine: Added separator '│' before col 1
    [table/colorized] DEBUG: renderLine: Regular col 1, visualWidth 10
    [table/colorized] DEBUG: Formatting cell: content='DIVISION', width=10, align=center, paddingL=' ', paddingR=' ', tintFG=[37 1], tintBG=[40]
    [table/colorized] DEBUG: Formatted cell final result: ' DIVISION ' (target width 10, display width 10)
    [table/colorized] DEBUG: renderLine: Rendered regular col 1 (visualWidth 10, align center): ' DIVISION '
    [table/colorized] DEBUG: renderLine: Added separator '│' before col 2
    [table/colorized] DEBUG: renderLine: Regular col 2, visualWidth 15
    [table/colorized] DEBUG: Formatting cell: content='TEAM', width=15, align=center, paddingL=' ', paddingR=' ', tintFG=[37 1], tintBG=[40]
    [table/colorized] DEBUG: Formatted cell final result: '     TEAM      ' (target width 15, display width 15)
    [table/colorized] DEBUG: renderLine: Rendered regular col 2 (visualWidth 15, align center): '     TEAM      '
    [table/colorized] DEBUG: renderLine: Added separator '│' before col 3
    [table/colorized] DEBUG: renderLine: Regular col 3, visualWidth 9
    [table/colorized] DEBUG: Formatting cell: content='LEAD', width=9, align=center, paddingL=' ', paddingR=' ', tintFG=[37 1], tintBG=[40]
    [table/colorized] DEBUG: Formatted cell final result: '  LEAD   ' (target width 9, display width 9)
    [table/colorized] DEBUG: renderLine: Rendered regular col 3 (visualWidth 9, align center): '  LEAD   '
    [table/colorized] DEBUG: renderLine: Final rendered line: │ DEPARTMENT  │ DIVISION │     TEAM      │  LEAD   │
    [table/colorized] DEBUG: Completed Header render
    [table] DEBUG: Rendering header separator line
    [table] DEBUG: buildCellContexts: Building contexts for position=header, rowIdx=0, lineIdx=0
    [table] DEBUG: buildCoreCellContexts: Built cell contexts for 4 columns
    [table] DEBUG: buildAligns INPUT: deprecated Formatting.Alignment=, deprecated ColumnAligns=[], config.Alignment.Global=left, config.Alignment.PerColumn=[]
    [table] DEBUG: getNumColsToUse (batch): Using cached t.batchRenderNumCols: 4 (because isBatchRenderNumColsSet is true)
    [table] DEBUG: Aligns built: map[0:left 1:left 2:left 3:left] (length 4)
    [table] DEBUG: getNumColsToUse (batch): Using cached t.batchRenderNumCols: 4 (because isBatchRenderNumColsSet is true)
    [table] DEBUG: Padding built: map[0:{      true} 1:{      true} 2:{      true} 3:{      true}] (length 4)
    [table] DEBUG: buildCellContexts: Building contexts for position=row, rowIdx=0, lineIdx=0
    [table] DEBUG: buildCoreCellContexts: Built cell contexts for 4 columns
    [table/colorized] DEBUG: Line: Starting with Level=1, Location=middle, IsSubRow=false, Widths=map[0:13 1:10 2:15 3:9]
    [table/colorized] DEBUG: Line: All keys=[0 1 2 3], Effective keys (width>0)=[0 1 2 3]
    [table/colorized/junction] DEBUG: RenderLeft: Level=1, Location=middle, Previous=map[]
    [table/colorized/junction] DEBUG: GetSegment col 0: VPassThruStrict=false -> Colored row symbol '─'
    [table/colorized] DEBUG: Line: Drawing segment for Effective colIdx=0, segment='─', width=13
    [table/colorized] DEBUG: Line: Junction between visible 0 (orig preceding 0) and next visible 1: '┼'
    [table/colorized/junction] DEBUG: GetSegment col 1: VPassThruStrict=false -> Colored row symbol '─'
    [table/colorized] DEBUG: Line: Drawing segment for Effective colIdx=1, segment='─', width=10
    [table/colorized] DEBUG: Line: Junction between visible 1 (orig preceding 1) and next visible 2: '┼'
    [table/colorized/junction] DEBUG: GetSegment col 2: VPassThruStrict=false -> Colored row symbol '─'
    [table/colorized] DEBUG: Line: Drawing segment for Effective colIdx=2, segment='─', width=15
    [table/colorized] DEBUG: Line: Junction between visible 2 (orig preceding 2) and next visible 3: '┼'
    [table/colorized/junction] DEBUG: GetSegment col 3: VPassThruStrict=false -> Colored row symbol '─'
    [table/colorized] DEBUG: Line: Drawing segment for Effective colIdx=3, segment='─', width=9
    [table/colorized/junction] DEBUG: RenderRight: lastColIdx=3, Level=1, Location=middle, Previous=map[]
    [table/colorized] DEBUG: Line rendered: ├─────────────┼──────────┼───────────────┼─────────┤
    [table] DEBUG: Rendering row section (total rows: 5)
    [table] DEBUG: buildAligns INPUT: deprecated Formatting.Alignment=, deprecated ColumnAligns=[], config.Alignment.Global=left, config.Alignment.PerColumn=[]
    [table] DEBUG: getNumColsToUse (batch): Using cached t.batchRenderNumCols: 4 (because isBatchRenderNumColsSet is true)
    [table] DEBUG: Aligns built: map[0:left 1:left 2:left 3:left] (length 4)
    [table] DEBUG: getNumColsToUse (batch): Using cached t.batchRenderNumCols: 4 (because isBatchRenderNumColsSet is true)
    [table] DEBUG: Padding built: map[0:{      true} 1:{      true} 2:{      true} 3:{      true}] (length 4)
    [table] DEBUG: Rendering row 0 line 0 with location middle. Content: ["Engineering" "Backend" "API Team" "Alice"]
    [table] DEBUG: buildCellContexts: Building contexts for position=row, rowIdx=0, lineIdx=0
    [table] DEBUG: buildCoreCellContexts: Built cell contexts for 4 columns
    [table/colorized] DEBUG: Starting Row render: IsSubRow=false, Location=middle, Pos=row, hasFooter=true
    [table/colorized] DEBUG: renderLine: Regular col 0, visualWidth 13
    [table/colorized] DEBUG: Formatting cell: content='Engineering', width=13, align=left, paddingL=' ', paddingR=' ', tintFG=[36], tintBG=[40]
    [table/colorized] DEBUG: Formatted cell final result: ' Engineering ' (target width 13, display width 13)
    [table/colorized] DEBUG: renderLine: Rendered regular col 0 (visualWidth 13, align left): ' Engineering '
    [table/colorized] DEBUG: renderLine: Added separator '│' before col 1
    [table/colorized] DEBUG: renderLine: Regular col 1, visualWidth 10
    [table/colorized] DEBUG: Formatting cell: content='Backend', width=10, align=left, paddingL=' ', paddingR=' ', tintFG=[36], tintBG=[40]
    [table/colorized] DEBUG: Formatted cell final result: ' Backend  ' (target width 10, display width 10)
    [table/colorized] DEBUG: renderLine: Rendered regular col 1 (visualWidth 10, align left): ' Backend  '
    [table/colorized] DEBUG: renderLine: Added separator '│' before col 2
    [table/colorized] DEBUG: renderLine: Regular col 2, visualWidth 15
    [table/colorized] DEBUG: Formatting cell: content='API Team', width=15, align=left, paddingL=' ', paddingR=' ', tintFG=[36], tintBG=[40]
    [table/colorized] DEBUG: Formatted cell final result: ' API Team      ' (target width 15, display width 15)
    [table/colorized] DEBUG: renderLine: Rendered regular col 2 (visualWidth 15, align left): ' API Team      '
    [table/colorized] DEBUG: renderLine: Added separator '│' before col 3
    [table/colorized] DEBUG: renderLine: Regular col 3, visualWidth 9
    [table/colorized] DEBUG: Formatting cell: content='Alice', width=9, align=left, paddingL=' ', paddingR=' ', tintFG=[36], tintBG=[40]
    [table/colorized] DEBUG: Formatted cell final result: ' Alice   ' (target width 9, display width 9)
    [table/colorized] DEBUG: renderLine: Rendered regular col 3 (visualWidth 9, align left): ' Alice   '
    [table/colorized] DEBUG: renderLine: Final rendered line: │ Engineering │ Backend  │ API Team      │ Alice   │
    [table/colorized] DEBUG: Completed Row render
    [table] DEBUG: Rendering between-rows separator after logical row %d 0
    [table] DEBUG: buildCellContexts: Building contexts for position=row, rowIdx=0, lineIdx=0
    [table] DEBUG: buildCoreCellContexts: Built cell contexts for 4 columns
    [table] DEBUG: buildCellContexts: Building contexts for position=row, rowIdx=1, lineIdx=0
    [table] DEBUG: buildCoreCellContexts: Built cell contexts for 4 columns
    [table/colorized] DEBUG: Line: Starting with Level=1, Location=middle, IsSubRow=false, Widths=map[0:13 1:10 2:15 3:9]
    [table/colorized] DEBUG: Line: All keys=[0 1 2 3], Effective keys (width>0)=[0 1 2 3]
    [table/colorized/junction] DEBUG: RenderLeft: Level=1, Location=middle, Previous=map[0:{DEPARTMENT  {    false} 13 {{false 0 false false} {false 0 false false} {false 0 false false}}} 1:{DIVISION  {    false} 10 {{false 0 false false} {false 0 false false} {false 0 false false}}} 2:{TEAM  {    false} 15 {{false 0 false false} {false 0 false false} {false 0 false false}}} 3:{LEAD  {    false} 9 {{false 0 false false} {false 0 false false} {false 0 false false}}}]
    [table/colorized/junction] DEBUG: GetSegment col 0: VPassThruStrict=true -> Empty segment
    [table/colorized] DEBUG: Line: Drawing segment for Effective colIdx=0, segment='', width=13
    [table/colorized] DEBUG: Line: Junction between visible 0 (orig preceding 0) and next visible 1: '│'
    [table/colorized/junction] DEBUG: GetSegment col 1: VPassThruStrict=true -> Empty segment
    [table/colorized] DEBUG: Line: Drawing segment for Effective colIdx=1, segment='', width=10
    [table/colorized] DEBUG: Line: Junction between visible 1 (orig preceding 1) and next visible 2: '├'
    [table/colorized/junction] DEBUG: GetSegment col 2: VPassThruStrict=false -> Colored row symbol '─'
    [table/colorized] DEBUG: Line: Drawing segment for Effective colIdx=2, segment='─', width=15
    [table/colorized] DEBUG: Line: Junction between visible 2 (orig preceding 2) and next visible 3: '┼'
    [table/colorized/junction] DEBUG: GetSegment col 3: VPassThruStrict=false -> Colored row symbol '─'
    [table/colorized] DEBUG: Line: Drawing segment for Effective colIdx=3, segment='─', width=9
    [table/colorized/junction] DEBUG: RenderRight: lastColIdx=3, Level=1, Location=middle, Previous=map[0:{DEPARTMENT  {    false} 13 {{false 0 false false} {false 0 false false} {false 0 false false}}} 1:{DIVISION  {    false} 10 {{false 0 false false} {false 0 false false} {false 0 false false}}} 2:{TEAM  {    false} 15 {{false 0 false false} {false 0 false false} {false 0 false false}}} 3:{LEAD  {    false} 9 {{false 0 false false} {false 0 false false} {false 0 false false}}}]
    [table/colorized] DEBUG: Line rendered: │             │          ├───────────────┼─────────┤
    [table] DEBUG: Rendering row 1 line 0 with location middle. Content: ["" "" "Database Team" "Bob"]
    [table] DEBUG: buildCellContexts: Building contexts for position=row, rowIdx=1, lineIdx=0
    [table] DEBUG: buildCoreCellContexts: Built cell contexts for 4 columns
    [table/colorized] DEBUG: Starting Row render: IsSubRow=false, Location=middle, Pos=row, hasFooter=true
    [table/colorized] DEBUG: renderLine: Regular col 0, visualWidth 13
    [table/colorized] DEBUG: renderLine: Blanked data for col 0 (non-start V/Hierarchical)
    [table/colorized] DEBUG: Formatting cell: content='', width=13, align=left, paddingL=' ', paddingR=' ', tintFG=[36], tintBG=[40]
    [table/colorized] DEBUG: Formatted cell final result: '             ' (target width 13, display width 13)
    [table/colorized] DEBUG: renderLine: Rendered regular col 0 (visualWidth 13, align left): '             '
    [table/colorized] DEBUG: renderLine: Added separator '│' before col 1
    [table/colorized] DEBUG: renderLine: Regular col 1, visualWidth 10
    [table/colorized] DEBUG: renderLine: Blanked data for col 1 (non-start V/Hierarchical)
    [table/colorized] DEBUG: Formatting cell: content='', width=10, align=left, paddingL=' ', paddingR=' ', tintFG=[36], tintBG=[40]
    [table/colorized] DEBUG: Formatted cell final result: '          ' (target width 10, display width 10)
    [table/colorized] DEBUG: renderLine: Rendered regular col 1 (visualWidth 10, align left): '          '
    [table/colorized] DEBUG: renderLine: Added separator '│' before col 2
    [table/colorized] DEBUG: renderLine: Regular col 2, visualWidth 15
    [table/colorized] DEBUG: Formatting cell: content='Database Team', width=15, align=left, paddingL=' ', paddingR=' ', tintFG=[36], tintBG=[40]
    [table/colorized] DEBUG: Formatted cell final result: ' Database Team ' (target width 15, display width 15)
    [table/colorized] DEBUG: renderLine: Rendered regular col 2 (visualWidth 15, align left): ' Database Team '
    [table/colorized] DEBUG: renderLine: Added separator '│' before col 3
    [table/colorized] DEBUG: renderLine: Regular col 3, visualWidth 9
    [table/colorized] DEBUG: Formatting cell: content='Bob', width=9, align=left, paddingL=' ', paddingR=' ', tintFG=[36], tintBG=[40]
    [table/colorized] DEBUG: Formatted cell final result: ' Bob     ' (target width 9, display width 9)
    [table/colorized] DEBUG: renderLine: Rendered regular col 3 (visualWidth 9, align left): ' Bob     '
    [table/colorized] DEBUG: renderLine: Final rendered line: │             │          │ Database Team │ Bob     │
    [table/colorized] DEBUG: Completed Row render
    [table] DEBUG: Rendering between-rows separator after logical row %d 1
    [table] DEBUG: buildCellContexts: Building contexts for position=row, rowIdx=1, lineIdx=0
    [table] DEBUG: buildCoreCellContexts: Built cell contexts for 4 columns
    [table] DEBUG: buildCellContexts: Building contexts for position=row, rowIdx=2, lineIdx=0
    [table] DEBUG: buildCoreCellContexts: Built cell contexts for 4 columns
    [table/colorized] DEBUG: Line: Starting with Level=1, Location=middle, IsSubRow=false, Widths=map[0:13 1:10 2:15 3:9]
    [table/colorized] DEBUG: Line: All keys=[0 1 2 3], Effective keys (width>0)=[0 1 2 3]
    [table/colorized/junction] DEBUG: RenderLeft: Level=1, Location=middle, Previous=map[0:{Engineering  {    false} 13 {{false 0 false false} {false 0 false false} {true 3 true false}}} 1:{Backend  {    false} 10 {{false 0 false false} {false 0 false false} {true 2 true false}}} 2:{API Team  {    false} 15 {{false 0 false false} {false 0 false false} {false 0 false false}}} 3:{Alice  {    false} 9 {{false 0 false false} {false 0 false false} {false 0 false false}}}]
    [table/colorized/junction] DEBUG: GetSegment col 0: VPassThruStrict=true -> Empty segment
    [table/colorized] DEBUG: Line: Drawing segment for Effective colIdx=0, segment='', width=13
    [table/colorized] DEBUG: Line: Junction between visible 0 (orig preceding 0) and next visible 1: '├'
    [table/colorized/junction] DEBUG: GetSegment col 1: VPassThruStrict=false -> Colored row symbol '─'
    [table/colorized] DEBUG: Line: Drawing segment for Effective colIdx=1, segment='─', width=10
    [table/colorized] DEBUG: Line: Junction between visible 1 (orig preceding 1) and next visible 2: '┼'
    [table/colorized/junction] DEBUG: GetSegment col 2: VPassThruStrict=false -> Colored row symbol '─'
    [table/colorized] DEBUG: Line: Drawing segment for Effective colIdx=2, segment='─', width=15
    [table/colorized] DEBUG: Line: Junction between visible 2 (orig preceding 2) and next visible 3: '┼'
    [table/colorized/junction] DEBUG: GetSegment col 3: VPassThruStrict=false -> Colored row symbol '─'
    [table/colorized] DEBUG: Line: Drawing segment for Effective colIdx=3, segment='─', width=9
    [table/colorized/junction] DEBUG: RenderRight: lastColIdx=3, Level=1, Location=middle, Previous=map[0:{Engineering  {    false} 13 {{false 0 false false} {false 0 false false} {true 3 true false}}} 1:{Backend  {    false} 10 {{false 0 false false} {false 0 false false} {true 2 true false}}} 2:{API Team  {    false} 15 {{false 0 false false} {false 0 false false} {false 0 false false}}} 3:{Alice  {    false} 9 {{false 0 false false} {false 0 false false} {false 0 false false}}}]
    [table/colorized] DEBUG: Line rendered: │             ├──────────┼───────────────┼─────────┤
    [table] DEBUG: Rendering row 2 line 0 with location middle. Content: ["" "Frontend" "UI Team" "Charlie"]
    [table] DEBUG: buildCellContexts: Building contexts for position=row, rowIdx=2, lineIdx=0
    [table] DEBUG: buildCoreCellContexts: Built cell contexts for 4 columns
    [table/colorized] DEBUG: Starting Row render: IsSubRow=false, Location=middle, Pos=row, hasFooter=true
    [table/colorized] DEBUG: renderLine: Regular col 0, visualWidth 13
    [table/colorized] DEBUG: renderLine: Blanked data for col 0 (non-start V/Hierarchical)
    [table/colorized] DEBUG: Formatting cell: content='', width=13, align=left, paddingL=' ', paddingR=' ', tintFG=[36], tintBG=[40]
    [table/colorized] DEBUG: Formatted cell final result: '             ' (target width 13, display width 13)
    [table/colorized] DEBUG: renderLine: Rendered regular col 0 (visualWidth 13, align left): '             '
    [table/colorized] DEBUG: renderLine: Added separator '│' before col 1
    [table/colorized] DEBUG: renderLine: Regular col 1, visualWidth 10
    [table/colorized] DEBUG: Formatting cell: content='Frontend', width=10, align=left, paddingL=' ', paddingR=' ', tintFG=[36], tintBG=[40]
    [table/colorized] DEBUG: Formatted cell final result: ' Frontend ' (target width 10, display width 10)
    [table/colorized] DEBUG: renderLine: Rendered regular col 1 (visualWidth 10, align left): ' Frontend '
    [table/colorized] DEBUG: renderLine: Added separator '│' before col 2
    [table/colorized] DEBUG: renderLine: Regular col 2, visualWidth 15
    [table/colorized] DEBUG: Formatting cell: content='UI Team', width=15, align=left, paddingL=' ', paddingR=' ', tintFG=[36], tintBG=[40]
    [table/colorized] DEBUG: Formatted cell final result: ' UI Team       ' (target width 15, display width 15)
    [table/colorized] DEBUG: renderLine: Rendered regular col 2 (visualWidth 15, align left): ' UI Team       '
    [table/colorized] DEBUG: renderLine: Added separator '│' before col 3
    [table/colorized] DEBUG: renderLine: Regular col 3, visualWidth 9
    [table/colorized] DEBUG: Formatting cell: content='Charlie', width=9, align=left, paddingL=' ', paddingR=' ', tintFG=[36], tintBG=[40]
    [table/colorized] DEBUG: Formatted cell final result: ' Charlie ' (target width 9, display width 9)
    [table/colorized] DEBUG: renderLine: Rendered regular col 3 (visualWidth 9, align left): ' Charlie '
    [table/colorized] DEBUG: renderLine: Final rendered line: │             │ Frontend │ UI Team       │ Charlie │
    [table/colorized] DEBUG: Completed Row render
    [table] DEBUG: Rendering between-rows separator after logical row %d 2
    [table] DEBUG: buildCellContexts: Building contexts for position=row, rowIdx=2, lineIdx=0
    [table] DEBUG: buildCoreCellContexts: Built cell contexts for 4 columns
    [table] DEBUG: buildCellContexts: Building contexts for position=row, rowIdx=3, lineIdx=0
    [table] DEBUG: buildCoreCellContexts: Built cell contexts for 4 columns
    [table/colorized] DEBUG: Line: Starting with Level=1, Location=middle, IsSubRow=false, Widths=map[0:13 1:10 2:15 3:9]
    [table/colorized] DEBUG: Line: All keys=[0 1 2 3], Effective keys (width>0)=[0 1 2 3]
    [table/colorized/junction] DEBUG: RenderLeft: Level=1, Location=middle, Previous=map[0:{  {    false} 13 {{false 0 false false} {false 0 false false} {true 0 false false}}} 1:{  {    false} 10 {{false 0 false false} {false 0 false false} {true 2 false true}}} 2:{Database Team  {    false} 15 {{false 0 false false} {false 0 false false} {false 0 false false}}} 3:{Bob  {    false} 9 {{false 0 false false} {false 0 false false} {false 0 false false}}}]
    [table/colorized/junction] DEBUG: GetSegment col 0: VPassThruStrict=false -> Colored row symbol '─'
    [table/colorized] DEBUG: Line: Drawing segment for Effective colIdx=0, segment='─', width=13
    [table/colorized] DEBUG: Line: Junction between visible 0 (orig preceding 0) and next visible 1: '┼'
    [table/colorized/junction] DEBUG: GetSegment col 1: VPassThruStrict=false -> Colored row symbol '─'
    [table/colorized] DEBUG: Line: Drawing segment for Effective colIdx=1, segment='─', width=10
    [table/colorized] DEBUG: Line: Junction between visible 1 (orig preceding 1) and next visible 2: '┼'
    [table/colorized/junction] DEBUG: GetSegment col 2: VPassThruStrict=false -> Colored row symbol '─'
    [table/colorized] DEBUG: Line: Drawing segment for Effective colIdx=2, segment='─', width=15
    [table/colorized] DEBUG: Line: Junction between visible 2 (orig preceding 2) and next visible 3: '┼'
    [table/colorized/junction] DEBUG: GetSegment col 3: VPassThruStrict=false -> Colored row symbol '─'
    [table/colorized] DEBUG: Line: Drawing segment for Effective colIdx=3, segment='─', width=9
    [table/colorized/junction] DEBUG: RenderRight: lastColIdx=3, Level=1, Location=middle, Previous=map[0:{  {    false} 13 {{false 0 false false} {false 0 false false} {true 0 false false}}} 1:{  {    false} 10 {{false 0 false false} {false 0 false false} {true 2 false true}}} 2:{Database Team  {    false} 15 {{false 0 false false} {false 0 false false} {false 0 false false}}} 3:{Bob  {    false} 9 {{false 0 false false} {false 0 false false} {false 0 false false}}}]
    [table/colorized] DEBUG: Line rendered: ├─────────────┼──────────┼───────────────┼─────────┤
    [table] DEBUG: Rendering row 3 line 0 with location middle. Content: ["Marketing" "Digital" "SEO Team" "Dave"]
    [table] DEBUG: buildCellContexts: Building contexts for position=row, rowIdx=3, lineIdx=0
    [table] DEBUG: buildCoreCellContexts: Built cell contexts for 4 columns
    [table/colorized] DEBUG: Starting Row render: IsSubRow=false, Location=middle, Pos=row, hasFooter=true
    [table/colorized] DEBUG: renderLine: Regular col 0, visualWidth 13
    [table/colorized] DEBUG: Formatting cell: content='Marketing', width=13, align=left, paddingL=' ', paddingR=' ', tintFG=[36], tintBG=[40]
    [table/colorized] DEBUG: Formatted cell final result: ' Marketing   ' (target width 13, display width 13)
    [table/colorized] DEBUG: renderLine: Rendered regular col 0 (visualWidth 13, align left): ' Marketing   '
    [table/colorized] DEBUG: renderLine: Added separator '│' before col 1
    [table/colorized] DEBUG: renderLine: Regular col 1, visualWidth 10
    [table/colorized] DEBUG: Formatting cell: content='Digital', width=10, align=left, paddingL=' ', paddingR=' ', tintFG=[36], tintBG=[40]
    [table/colorized] DEBUG: Formatted cell final result: ' Digital  ' (target width 10, display width 10)
    [table/colorized] DEBUG: renderLine: Rendered regular col 1 (visualWidth 10, align left): ' Digital  '
    [table/colorized] DEBUG: renderLine: Added separator '│' before col 2
    [table/colorized] DEBUG: renderLine: Regular col 2, visualWidth 15
    [table/colorized] DEBUG: Formatting cell: content='SEO Team', width=15, align=left, paddingL=' ', paddingR=' ', tintFG=[36], tintBG=[40]
    [table/colorized] DEBUG: Formatted cell final result: ' SEO Team      ' (target width 15, display width 15)
    [table/colorized] DEBUG: renderLine: Rendered regular col 2 (visualWidth 15, align left): ' SEO Team      '
    [table/colorized] DEBUG: renderLine: Added separator '│' before col 3
    [table/colorized] DEBUG: renderLine: Regular col 3, visualWidth 9
    [table/colorized] DEBUG: Formatting cell: content='Dave', width=9, align=left, paddingL=' ', paddingR=' ', tintFG=[36], tintBG=[40]
    [table/colorized] DEBUG: Formatted cell final result: ' Dave    ' (target width 9, display width 9)
    [table/colorized] DEBUG: renderLine: Rendered regular col 3 (visualWidth 9, align left): ' Dave    '
    [table/colorized] DEBUG: renderLine: Final rendered line: │ Marketing   │ Digital  │ SEO Team      │ Dave    │
    [table/colorized] DEBUG: Completed Row render
    [table] DEBUG: Rendering between-rows separator after logical row %d 3
    [table] DEBUG: buildCellContexts: Building contexts for position=row, rowIdx=3, lineIdx=0
    [table] DEBUG: buildCoreCellContexts: Built cell contexts for 4 columns
    [table] DEBUG: buildCellContexts: Building contexts for position=row, rowIdx=4, lineIdx=0
    [table] DEBUG: buildCoreCellContexts: Built cell contexts for 4 columns
    [table/colorized] DEBUG: Line: Starting with Level=1, Location=middle, IsSubRow=false, Widths=map[0:13 1:10 2:15 3:9]
    [table/colorized] DEBUG: Line: All keys=[0 1 2 3], Effective keys (width>0)=[0 1 2 3]
    [table/colorized/junction] DEBUG: RenderLeft: Level=1, Location=middle, Previous=map[0:{  {    false} 13 {{false 0 false false} {false 0 false false} {true 3 false true}}} 1:{Frontend  {    false} 10 {{false 0 false false} {false 0 false false} {false 0 false false}}} 2:{UI Team  {    false} 15 {{false 0 false false} {false 0 false false} {false 0 false false}}} 3:{Charlie  {    false} 9 {{false 0 false false} {false 0 false false} {false 0 false false}}}]
    [table/colorized/junction] DEBUG: GetSegment col 0: VPassThruStrict=true -> Empty segment
    [table/colorized] DEBUG: Line: Drawing segment for Effective colIdx=0, segment='', width=13
    [table/colorized] DEBUG: Line: Junction between visible 0 (orig preceding 0) and next visible 1: '│'
    [table/colorized/junction] DEBUG: GetSegment col 1: VPassThruStrict=true -> Empty segment
    [table/colorized] DEBUG: Line: Drawing segment for Effective colIdx=1, segment='', width=10
    [table/colorized] DEBUG: Line: Junction between visible 1 (orig preceding 1) and next visible 2: '├'
    [table/colorized/junction] DEBUG: GetSegment col 2: VPassThruStrict=false -> Colored row symbol '─'
    [table/colorized] DEBUG: Line: Drawing segment for Effective colIdx=2, segment='─', width=15
    [table/colorized] DEBUG: Line: Junction between visible 2 (orig preceding 2) and next visible 3: '┼'
    [table/colorized/junction] DEBUG: GetSegment col 3: VPassThruStrict=false -> Colored row symbol '─'
    [table/colorized] DEBUG: Line: Drawing segment for Effective colIdx=3, segment='─', width=9
    [table/colorized/junction] DEBUG: RenderRight: lastColIdx=3, Level=1, Location=middle, Previous=map[0:{  {    false} 13 {{false 0 false false} {false 0 false false} {true 3 false true}}} 1:{Frontend  {    false} 10 {{false 0 false false} {false 0 false false} {false 0 false false}}} 2:{UI Team  {    false} 15 {{false 0 false false} {false 0 false false} {false 0 false false}}} 3:{Charlie  {    false} 9 {{false 0 false false} {false 0 false false} {false 0 false false}}}]
    [table/colorized] DEBUG: Line rendered: │             │          ├───────────────┼─────────┤
    [table] DEBUG: Rendering row 4 line 0 with location middle. Content: ["" "" "Content Team" "Eve"]
    [table] DEBUG: buildCellContexts: Building contexts for position=row, rowIdx=4, lineIdx=0
    [table] DEBUG: buildCoreCellContexts: Built cell contexts for 4 columns
    [table/colorized] DEBUG: Starting Row render: IsSubRow=false, Location=middle, Pos=row, hasFooter=true
    [table/colorized] DEBUG: renderLine: Regular col 0, visualWidth 13
    [table/colorized] DEBUG: renderLine: Blanked data for col 0 (non-start V/Hierarchical)
    [table/colorized] DEBUG: Formatting cell: content='', width=13, align=left, paddingL=' ', paddingR=' ', tintFG=[36], tintBG=[40]
    [table/colorized] DEBUG: Formatted cell final result: '             ' (target width 13, display width 13)
    [table/colorized] DEBUG: renderLine: Rendered regular col 0 (visualWidth 13, align left): '             '
    [table/colorized] DEBUG: renderLine: Added separator '│' before col 1
    [table/colorized] DEBUG: renderLine: Regular col 1, visualWidth 10
    [table/colorized] DEBUG: renderLine: Blanked data for col 1 (non-start V/Hierarchical)
    [table/colorized] DEBUG: Formatting cell: content='', width=10, align=left, paddingL=' ', paddingR=' ', tintFG=[36], tintBG=[40]
    [table/colorized] DEBUG: Formatted cell final result: '          ' (target width 10, display width 10)
    [table/colorized] DEBUG: renderLine: Rendered regular col 1 (visualWidth 10, align left): '          '
    [table/colorized] DEBUG: renderLine: Added separator '│' before col 2
    [table/colorized] DEBUG: renderLine: Regular col 2, visualWidth 15
    [table/colorized] DEBUG: Formatting cell: content='Content Team', width=15, align=left, paddingL=' ', paddingR=' ', tintFG=[36], tintBG=[40]
    [table/colorized] DEBUG: Formatted cell final result: ' Content Team  ' (target width 15, display width 15)
    [table/colorized] DEBUG: renderLine: Rendered regular col 2 (visualWidth 15, align left): ' Content Team  '
    [table/colorized] DEBUG: renderLine: Added separator '│' before col 3
    [table/colorized] DEBUG: renderLine: Regular col 3, visualWidth 9
    [table/colorized] DEBUG: Formatting cell: content='Eve', width=9, align=left, paddingL=' ', paddingR=' ', tintFG=[36], tintBG=[40]
    [table/colorized] DEBUG: Formatted cell final result: ' Eve     ' (target width 9, display width 9)
    [table/colorized] DEBUG: renderLine: Rendered regular col 3 (visualWidth 9, align left): ' Eve     '
    [table/colorized] DEBUG: renderLine: Final rendered line: │             │          │ Content Team  │ Eve     │
    [table/colorized] DEBUG: Completed Row render
    [table] DEBUG: Rendering footer section (has elements)
    [table] DEBUG: buildAligns INPUT: deprecated Formatting.Alignment=, deprecated ColumnAligns=[], config.Alignment.Global=left, config.Alignment.PerColumn=[]
    [table] DEBUG: getNumColsToUse (batch): Using cached t.batchRenderNumCols: 4 (because isBatchRenderNumColsSet is true)
    [table] DEBUG: Aligns built: map[0:left 1:left 2:left 3:left] (length 4)
    [table] DEBUG: getNumColsToUse (batch): Using cached t.batchRenderNumCols: 4 (because isBatchRenderNumColsSet is true)
    [table] DEBUG: Padding built: map[0:{      true} 1:{      true} 2:{      true} 3:{      true}] (length 4)
    [table] DEBUG: Rendering footer separator line
    [table] DEBUG: buildAligns INPUT: deprecated Formatting.Alignment=, deprecated ColumnAligns=[], config.Alignment.Global=left, config.Alignment.PerColumn=[]
    [table] DEBUG: getNumColsToUse (batch): Using cached t.batchRenderNumCols: 4 (because isBatchRenderNumColsSet is true)
    [table] DEBUG: Aligns built: map[0:left 1:left 2:left 3:left] (length 4)
    [table] DEBUG: getNumColsToUse (batch): Using cached t.batchRenderNumCols: 4 (because isBatchRenderNumColsSet is true)
    [table] DEBUG: Padding built: map[0:{      true} 1:{      true} 2:{      true} 3:{      true}] (length 4)
    [table] DEBUG: buildCellContexts: Building contexts for position=row, rowIdx=4, lineIdx=0
    [table] DEBUG: buildCoreCellContexts: Built cell contexts for 4 columns
    [table] DEBUG: Footer separator: Using Widths=map[0:13 1:10 2:15 3:9]
    [table/colorized] DEBUG: Line: Starting with Level=2, Location=middle, IsSubRow=false, Widths=map[0:13 1:10 2:15 3:9]
    [table/colorized] DEBUG: Line: All keys=[0 1 2 3], Effective keys (width>0)=[0 1 2 3]
    [table/colorized/junction] DEBUG: RenderLeft: Level=2, Location=middle, Previous=map[0:{Marketing  {    false} 13 {{false 0 false false} {false 0 false false} {true 2 true false}}} 1:{Digital  {    false} 10 {{false 0 false false} {false 0 false false} {true 2 true false}}} 2:{SEO Team  {    false} 15 {{false 0 false false} {false 0 false false} {false 0 false false}}} 3:{Dave  {    false} 9 {{false 0 false false} {false 0 false false} {false 0 false false}}}]
    [table/colorized/junction] DEBUG: GetSegment col 0: VPassThruStrict=false -> Colored row symbol '─'
    [table/colorized] DEBUG: Line: Drawing segment for Effective colIdx=0, segment='─', width=13
    [table/colorized] DEBUG: Line: Junction between visible 0 (orig preceding 0) and next visible 1: '┼'
    [table/colorized/junction] DEBUG: GetSegment col 1: VPassThruStrict=false -> Colored row symbol '─'
    [table/colorized] DEBUG: Line: Drawing segment for Effective colIdx=1, segment='─', width=10
    [table/colorized] DEBUG: Line: Junction between visible 1 (orig preceding 1) and next visible 2: '┴'
    [table/colorized/junction] DEBUG: GetSegment col 2: VPassThruStrict=false -> Colored row symbol '─'
    [table/colorized] DEBUG: Line: Drawing segment for Effective colIdx=2, segment='─', width=15
    [table/colorized] DEBUG: Line: Junction between visible 2 (orig preceding 2) and next visible 3: '┴'
    [table/colorized/junction] DEBUG: GetSegment col 3: VPassThruStrict=false -> Colored row symbol '─'
    [table/colorized] DEBUG: Line: Drawing segment for Effective colIdx=3, segment='─', width=9
    [table/colorized/junction] DEBUG: RenderRight: lastColIdx=3, Level=2, Location=middle, Previous=map[0:{Marketing  {    false} 13 {{false 0 false false} {false 0 false false} {true 2 true false}}} 1:{Digital  {    false} 10 {{false 0 false false} {false 0 false false} {true 2 true false}}} 2:{SEO Team  {    false} 15 {{false 0 false false} {false 0 false false} {false 0 false false}}} 3:{Dave  {    false} 9 {{false 0 false false} {false 0 false false} {false 0 false false}}}]
    [table/colorized] DEBUG: Line rendered: ├─────────────┼──────────┴───────────────┴─────────┤
    [table] DEBUG: Rendering footer content line 0 with location end
    [table] DEBUG: buildCellContexts: Building contexts for position=footer, rowIdx=0, lineIdx=0
    [table] DEBUG: buildCoreCellContexts: Built cell contexts for 4 columns
    [table/colorized] DEBUG: Starting Footer render: IsSubRow=false, Location=end, Pos=footer
    [table/colorized] DEBUG: renderLine: Regular col 0, visualWidth 13
    [table/colorized] DEBUG: Formatting cell: content='Total', width=13, align=left, paddingL=' ', paddingR=' ', tintFG=[33], tintBG=[40]
    [table/colorized] DEBUG: Formatted cell final result: ' Total       ' (target width 13, display width 13)
    [table/colorized] DEBUG: renderLine: Rendered regular col 0 (visualWidth 13, align left): ' Total       '
    [table/colorized] DEBUG: renderLine: Added separator '│' before col 1
    [table/colorized] DEBUG: renderLine: H/F HMerge col 1, span 3, pre-adjusted visualWidth 36
    [table/colorized] DEBUG: renderLine: Applying AlignRight override for Footer HMerge/TOTAL pattern at col 1. Original/default align was: left
    [table/colorized] DEBUG: Formatting cell: content='5', width=36, align=right, paddingL=' ', paddingR=' ', tintFG=[33], tintBG=[40]
    [table/colorized] DEBUG: Formatted cell final result: '                                  5 ' (target width 36, display width 36)
    [table/colorized] DEBUG: renderLine: Rendered HMerge START col 1 (span 3, visualWidth 36, align right): '                                  5 '
    [table/colorized] DEBUG: renderLine: Final rendered line: │ Total       │                                  5 │
    [table/colorized] DEBUG: Completed Footer render
    [table] DEBUG: Rendering final table bottom border
    [table] DEBUG: Setting border context based on last content line idx 0
    [table] DEBUG: buildCellContexts: Building contexts for position=footer, rowIdx=0, lineIdx=0
    [table] DEBUG: buildCoreCellContexts: Built cell contexts for 4 columns
    [table] DEBUG: Bottom border: Using Widths=map[0:13 1:10 2:15 3:9]
    [table/colorized] DEBUG: Line: Starting with Level=2, Location=end, IsSubRow=false, Widths=map[0:13 1:10 2:15 3:9]
    [table/colorized] DEBUG: Line: All keys=[0 1 2 3], Effective keys (width>0)=[0 1 2 3]
    [table/colorized/junction] DEBUG: RenderLeft: Level=2, Location=end, Previous=map[0:{  {    false} 13 {{false 0 false false} {false 0 false false} {true 2 false true}}} 1:{  {    false} 10 {{false 0 false false} {false 0 false false} {true 2 false true}}} 2:{Content Team  {    false} 15 {{false 0 false false} {false 0 false false} {false 0 false false}}} 3:{Eve  {    false} 9 {{false 0 false false} {false 0 false false} {false 0 false false}}}]
    [table/colorized/junction] DEBUG: GetSegment col 0: VPassThruStrict=false -> Colored row symbol '─'
    [table/colorized] DEBUG: Line: Drawing segment for Effective colIdx=0, segment='─', width=13
    [table/colorized] DEBUG: Line: Junction between visible 0 (orig preceding 0) and next visible 1: '┴'
    [table/colorized/junction] DEBUG: GetSegment col 1: VPassThruStrict=false -> Colored row symbol '─'
    [table/colorized] DEBUG: Line: Drawing segment for Effective colIdx=1, segment='─', width=10
    [table/colorized] DEBUG: Line: Junction between visible 1 (orig preceding 1) and next visible 2: '─'
    [table/colorized/junction] DEBUG: GetSegment col 2: VPassThruStrict=false -> Colored row symbol '─'
    [table/colorized] DEBUG: Line: Drawing segment for Effective colIdx=2, segment='─', width=15
    [table/colorized] DEBUG: Line: Junction between visible 2 (orig preceding 2) and next visible 3: '─'
    [table/colorized/junction] DEBUG: GetSegment col 3: VPassThruStrict=false -> Colored row symbol '─'
    [table/colorized] DEBUG: Line: Drawing segment for Effective colIdx=3, segment='─', width=9
    [table/colorized/junction] DEBUG: RenderRight: lastColIdx=3, Level=2, Location=end, Previous=map[0:{  {    false} 13 {{false 0 false false} {false 0 false false} {true 2 false true}}} 1:{  {    false} 10 {{false 0 false false} {false 0 false false} {true 2 false true}}} 2:{Content Team  {    false} 15 {{false 0 false false} {false 0 false false} {false 0 false false}}} 3:{Eve  {    false} 9 {{false 0 false false} {false 0 false false} {false 0 false false}}}]
    [table/colorized] DEBUG: Line rendered: └─────────────┴────────────────────────────────────┘
    [table/colorized] DEBUG: Colorized.Close() called (no-op).
    [table] INFO: Render() completed.
    [table] DEBUG: Render(): Cleared isBatchRenderNumColsSet to false (batchRenderNumCols was 4).
    

    You can see there is still some overriding in place Applying AlignRight override for Footer HMerge/TOTAL pattern at col 1. Original/default align was: left

    To compare with renderer.NewBlueprint

    renderer.NewBlueprint
    ┌─────────────┬──────────┬───────────────┬─────────┐
    │ DEPARTMENT  │ DIVISION │     TEAM      │  LEAD   │
    ├─────────────┼──────────┼───────────────┼─────────┤
    │ Engineering │ Backend  │ API Team      │ Alice   │
    │             │          ├───────────────┼─────────┤
    │             │          │ Database Team │ Bob     │
    │             ├──────────┼───────────────┼─────────┤
    │             │ Frontend │ UI Team       │ Charlie │
    ├─────────────┼──────────┼───────────────┼─────────┤
    │ Marketing   │ Digital  │ SEO Team      │ Dave    │
    │             │          ├───────────────┼─────────┤
    │             │          │ Content Team  │ Eve     │
    ├─────────────┼──────────┴───────────────┴─────────┤
    │ Total       │ 5                                  │
    └─────────────┴────────────────────────────────────┘
    [table] INFO: Environment: LC_CTYPE=, LANG=en_CA.UTF-8, TERM=xterm-256color
    [table] INFO: Go Runtime: Version=go1.25.0, OS=darwin, Arch=arm64, CPUs=10
    [table] INFO: Table initialized with 2 options
    [table] DEBUG: ensureInitialized called
    [table] DEBUG: Header() method called with raw variadic elements: [[Department Division Team Lead]] (len 1). Streaming: false, Started: false
    [table] DEBUG: Detected single []string argument. Unpacking it (fast path).
    [table] DEBUG: Header() (Batch): Effective cells to process: [Department Division Team Lead]
    [table] DEBUG: convertCellsToStrings: Converting row: [Department Division Team Lead] (type: []interface {})
    [table] DEBUG: convertCellsToStrings: Conversion and filtering completed, raw cells: [Department Division Team Lead]
    [table] DEBUG: prepareContent: Processing cells=[Department Division Team Lead] (streaming: false)
    [table] DEBUG: calculateContentMaxWidth: No width constraints found for column 0
    [table] DEBUG: calculateContentMaxWidth: No width constraints found for column 1
    [table] DEBUG: calculateContentMaxWidth: No width constraints found for column 2
    [table] DEBUG: calculateContentMaxWidth: No width constraints found for column 3
    [table] DEBUG: prepareContent: Content prepared, result 1 lines.
    [table] DEBUG: Header set (batch mode), lines stored: 1. First line if exists: [DEPARTMENT DIVISION TEAM LEAD]
    [table] DEBUG: ensureInitialized called
    [table] DEBUG: Append (Batch) received 1 arguments: [[Engineering Backend API Team Alice]]
    [table] DEBUG: convertCellsToStrings: Converting row: [Engineering Backend API Team Alice] (type: []string)
    [table] DEBUG: convertCellsToStrings: Conversion and filtering completed, raw cells: [Engineering Backend API Team Alice]
    [table] DEBUG: prepareContent: Processing cells=[Engineering Backend API Team Alice] (streaming: false)
    [table] DEBUG: calculateContentMaxWidth: No width constraints found for column 0
    [table] DEBUG: calculateContentMaxWidth: No width constraints found for column 1
    [table] DEBUG: calculateContentMaxWidth: No width constraints found for column 2
    [table] DEBUG: calculateContentMaxWidth: No width constraints found for column 3
    [table] DEBUG: prepareContent: Content prepared, result 1 lines.
    [table] DEBUG: Append (Batch) completed for one row, total rows in table: 1
    [table] DEBUG: ensureInitialized called
    [table] DEBUG: Append (Batch) received 1 arguments: [[Engineering Backend Database Team Bob]]
    [table] DEBUG: convertCellsToStrings: Converting row: [Engineering Backend Database Team Bob] (type: []string)
    [table] DEBUG: convertCellsToStrings: Conversion and filtering completed, raw cells: [Engineering Backend Database Team Bob]
    [table] DEBUG: prepareContent: Processing cells=[Engineering Backend Database Team Bob] (streaming: false)
    [table] DEBUG: calculateContentMaxWidth: No width constraints found for column 0
    [table] DEBUG: calculateContentMaxWidth: No width constraints found for column 1
    [table] DEBUG: calculateContentMaxWidth: No width constraints found for column 2
    [table] DEBUG: calculateContentMaxWidth: No width constraints found for column 3
    [table] DEBUG: prepareContent: Content prepared, result 1 lines.
    [table] DEBUG: Append (Batch) completed for one row, total rows in table: 2
    [table] DEBUG: ensureInitialized called
    [table] DEBUG: Append (Batch) received 1 arguments: [[Engineering Frontend UI Team Charlie]]
    [table] DEBUG: convertCellsToStrings: Converting row: [Engineering Frontend UI Team Charlie] (type: []string)
    [table] DEBUG: convertCellsToStrings: Conversion and filtering completed, raw cells: [Engineering Frontend UI Team Charlie]
    [table] DEBUG: prepareContent: Processing cells=[Engineering Frontend UI Team Charlie] (streaming: false)
    [table] DEBUG: calculateContentMaxWidth: No width constraints found for column 0
    [table] DEBUG: calculateContentMaxWidth: No width constraints found for column 1
    [table] DEBUG: calculateContentMaxWidth: No width constraints found for column 2
    [table] DEBUG: calculateContentMaxWidth: No width constraints found for column 3
    [table] DEBUG: prepareContent: Content prepared, result 1 lines.
    [table] DEBUG: Append (Batch) completed for one row, total rows in table: 3
    [table] DEBUG: ensureInitialized called
    [table] DEBUG: Append (Batch) received 1 arguments: [[Marketing Digital SEO Team Dave]]
    [table] DEBUG: convertCellsToStrings: Converting row: [Marketing Digital SEO Team Dave] (type: []string)
    [table] DEBUG: convertCellsToStrings: Conversion and filtering completed, raw cells: [Marketing Digital SEO Team Dave]
    [table] DEBUG: prepareContent: Processing cells=[Marketing Digital SEO Team Dave] (streaming: false)
    [table] DEBUG: calculateContentMaxWidth: No width constraints found for column 0
    [table] DEBUG: calculateContentMaxWidth: No width constraints found for column 1
    [table] DEBUG: calculateContentMaxWidth: No width constraints found for column 2
    [table] DEBUG: calculateContentMaxWidth: No width constraints found for column 3
    [table] DEBUG: prepareContent: Content prepared, result 1 lines.
    [table] DEBUG: Append (Batch) completed for one row, total rows in table: 4
    [table] DEBUG: ensureInitialized called
    [table] DEBUG: Append (Batch) received 1 arguments: [[Marketing Digital Content Team Eve]]
    [table] DEBUG: convertCellsToStrings: Converting row: [Marketing Digital Content Team Eve] (type: []string)
    [table] DEBUG: convertCellsToStrings: Conversion and filtering completed, raw cells: [Marketing Digital Content Team Eve]
    [table] DEBUG: prepareContent: Processing cells=[Marketing Digital Content Team Eve] (streaming: false)
    [table] DEBUG: calculateContentMaxWidth: No width constraints found for column 0
    [table] DEBUG: calculateContentMaxWidth: No width constraints found for column 1
    [table] DEBUG: calculateContentMaxWidth: No width constraints found for column 2
    [table] DEBUG: calculateContentMaxWidth: No width constraints found for column 3
    [table] DEBUG: prepareContent: Content prepared, result 1 lines.
    [table] DEBUG: Append (Batch) completed for one row, total rows in table: 5
    [table] DEBUG: ensureInitialized called
    [table] DEBUG: Footer() method called with raw variadic elements: [[Total 5 5 5]] (len 1). Streaming: false, Started: false
    [table] DEBUG: Detected single []string argument. Unpacking it (fast path).
    [table] DEBUG: Footer() (Batch): Effective cells to process: [Total 5 5 5]
    [table] DEBUG: convertCellsToStrings: Converting row: [Total 5 5 5] (type: []interface {})
    [table] DEBUG: convertCellsToStrings: Conversion and filtering completed, raw cells: [Total 5 5 5]
    [table] DEBUG: prepareContent: Processing cells=[Total 5 5 5] (streaming: false)
    [table] DEBUG: calculateContentMaxWidth: No width constraints found for column 0
    [table] DEBUG: calculateContentMaxWidth: No width constraints found for column 1
    [table] DEBUG: calculateContentMaxWidth: No width constraints found for column 2
    [table] DEBUG: calculateContentMaxWidth: No width constraints found for column 3
    [table] DEBUG: prepareContent: Content prepared, result 1 lines.
    [table] DEBUG: Footer set (batch mode), lines stored: 1. First line if exists: [Total 5 5 5]
    [table] DEBUG: ensureInitialized called
    [table] DEBUG: Max columns: 4
    [table] DEBUG: Render(): Set batchRenderNumCols to 4 and isBatchRenderNumColsSet to true.
    [table] DEBUG: No caption detected. Rendering table core directly to writer.
    [table] DEBUG: Max columns: 4
    [table] DEBUG: prepareContexts: Original number of columns: 4
    [table] DEBUG: getEmptyColumnInfo: Checking 5 rows for 4 columns...
    [table] DEBUG: getEmptyColumnInfo: Found content in row 0, line 0, col 0 ('Engineering'). Marked as not empty.
    [table] DEBUG: getEmptyColumnInfo: Found content in row 0, line 0, col 1 ('Backend'). Marked as not empty.
    [table] DEBUG: getEmptyColumnInfo: Found content in row 0, line 0, col 2 ('API Team'). Marked as not empty.
    [table] DEBUG: getEmptyColumnInfo: Found content in row 0, line 0, col 3 ('Alice'). Marked as not empty.
    [table] DEBUG: getEmptyColumnInfo: Detection complete. isEmpty: [false false false false], visibleColCount: 4
    [table] DEBUG: calculateAndNormalizeWidths: Computing and normalizing widths for 4 columns. Compact: false
    [table] DEBUG: Updating widths for row: [DEPARTMENT DIVISION TEAM LEAD]
    [table] DEBUG:   Col 0: Using global padding: L:' ' R:' '
    [table] DEBUG:   Col 0: Updated width from 0 to 12 (content:10 + padL:1 + padR:1) for cell 'DEPARTMENT'
    [table] DEBUG:   Col 1: Using global padding: L:' ' R:' '
    [table] DEBUG:   Col 1: Updated width from 0 to 10 (content:8 + padL:1 + padR:1) for cell 'DIVISION'
    [table] DEBUG:   Col 2: Using global padding: L:' ' R:' '
    [table] DEBUG:   Col 2: Updated width from 0 to 6 (content:4 + padL:1 + padR:1) for cell 'TEAM'
    [table] DEBUG:   Col 3: Using global padding: L:' ' R:' '
    [table] DEBUG:   Col 3: Updated width from 0 to 6 (content:4 + padL:1 + padR:1) for cell 'LEAD'
    [table] DEBUG: Updating widths for row: [Engineering Backend API Team Alice]
    [table] DEBUG:   Col 0: Using global padding: L:' ' R:' '
    [table] DEBUG:   Col 0: Updated width from 0 to 13 (content:11 + padL:1 + padR:1) for cell 'Engineering'
    [table] DEBUG:   Col 1: Using global padding: L:' ' R:' '
    [table] DEBUG:   Col 1: Updated width from 0 to 9 (content:7 + padL:1 + padR:1) for cell 'Backend'
    [table] DEBUG:   Col 2: Using global padding: L:' ' R:' '
    [table] DEBUG:   Col 2: Updated width from 0 to 10 (content:8 + padL:1 + padR:1) for cell 'API Team'
    [table] DEBUG:   Col 3: Using global padding: L:' ' R:' '
    [table] DEBUG:   Col 3: Updated width from 0 to 7 (content:5 + padL:1 + padR:1) for cell 'Alice'
    [table] DEBUG: Updating widths for row: [Engineering Backend Database Team Bob]
    [table] DEBUG:   Col 0: Using global padding: L:' ' R:' '
    [table] DEBUG:   Col 0: Updated width from 0 to 13 (content:11 + padL:1 + padR:1) for cell 'Engineering'
    [table] DEBUG:   Col 1: Using global padding: L:' ' R:' '
    [table] DEBUG:   Col 1: Updated width from 0 to 9 (content:7 + padL:1 + padR:1) for cell 'Backend'
    [table] DEBUG:   Col 2: Using global padding: L:' ' R:' '
    [table] DEBUG:   Col 2: Updated width from 0 to 15 (content:13 + padL:1 + padR:1) for cell 'Database Team'
    [table] DEBUG:   Col 3: Using global padding: L:' ' R:' '
    [table] DEBUG:   Col 3: Updated width from 0 to 5 (content:3 + padL:1 + padR:1) for cell 'Bob'
    [table] DEBUG: Updating widths for row: [Engineering Frontend UI Team Charlie]
    [table] DEBUG:   Col 0: Using global padding: L:' ' R:' '
    [table] DEBUG:   Col 0: Updated width from 0 to 13 (content:11 + padL:1 + padR:1) for cell 'Engineering'
    [table] DEBUG:   Col 1: Using global padding: L:' ' R:' '
    [table] DEBUG:   Col 1: Updated width from 0 to 10 (content:8 + padL:1 + padR:1) for cell 'Frontend'
    [table] DEBUG:   Col 2: Using global padding: L:' ' R:' '
    [table] DEBUG:   Col 2: Updated width from 0 to 9 (content:7 + padL:1 + padR:1) for cell 'UI Team'
    [table] DEBUG:   Col 3: Using global padding: L:' ' R:' '
    [table] DEBUG:   Col 3: Updated width from 0 to 9 (content:7 + padL:1 + padR:1) for cell 'Charlie'
    [table] DEBUG: Updating widths for row: [Marketing Digital SEO Team Dave]
    [table] DEBUG:   Col 0: Using global padding: L:' ' R:' '
    [table] DEBUG:   Col 0: Updated width from 0 to 11 (content:9 + padL:1 + padR:1) for cell 'Marketing'
    [table] DEBUG:   Col 1: Using global padding: L:' ' R:' '
    [table] DEBUG:   Col 1: Updated width from 0 to 9 (content:7 + padL:1 + padR:1) for cell 'Digital'
    [table] DEBUG:   Col 2: Using global padding: L:' ' R:' '
    [table] DEBUG:   Col 2: Updated width from 0 to 10 (content:8 + padL:1 + padR:1) for cell 'SEO Team'
    [table] DEBUG:   Col 3: Using global padding: L:' ' R:' '
    [table] DEBUG:   Col 3: Updated width from 0 to 6 (content:4 + padL:1 + padR:1) for cell 'Dave'
    [table] DEBUG: Updating widths for row: [Marketing Digital Content Team Eve]
    [table] DEBUG:   Col 0: Using global padding: L:' ' R:' '
    [table] DEBUG:   Col 0: Updated width from 0 to 11 (content:9 + padL:1 + padR:1) for cell 'Marketing'
    [table] DEBUG:   Col 1: Using global padding: L:' ' R:' '
    [table] DEBUG:   Col 1: Updated width from 0 to 9 (content:7 + padL:1 + padR:1) for cell 'Digital'
    [table] DEBUG:   Col 2: Using global padding: L:' ' R:' '
    [table] DEBUG:   Col 2: Updated width from 0 to 14 (content:12 + padL:1 + padR:1) for cell 'Content Team'
    [table] DEBUG:   Col 3: Using global padding: L:' ' R:' '
    [table] DEBUG:   Col 3: Updated width from 0 to 5 (content:3 + padL:1 + padR:1) for cell 'Eve'
    [table] DEBUG: Updating widths for row: [Total 5 5 5]
    [table] DEBUG:   Col 0: Using global padding: L:' ' R:' '
    [table] DEBUG:   Col 0: Updated width from 0 to 7 (content:5 + padL:1 + padR:1) for cell 'Total'
    [table] DEBUG:   Col 1: Using global padding: L:' ' R:' '
    [table] DEBUG:   Col 1: Updated width from 0 to 3 (content:1 + padL:1 + padR:1) for cell '5'
    [table] DEBUG:   Col 2: Using global padding: L:' ' R:' '
    [table] DEBUG:   Col 2: Updated width from 0 to 3 (content:1 + padL:1 + padR:1) for cell '5'
    [table] DEBUG:   Col 3: Using global padding: L:' ' R:' '
    [table] DEBUG:   Col 3: Updated width from 0 to 3 (content:1 + padL:1 + padR:1) for cell '5'
    [table] DEBUG: Content-based widths: header=map[0:12 1:10 2:6 3:6], row=map[0:13 1:10 2:15 3:9], footer=map[0:7 1:3 2:3 3:3]
    [table] DEBUG: Col 0 width (no merge): 13
    [table] DEBUG: Col 1 width (no merge): 10
    [table] DEBUG: Col 2 width (no merge): 15
    [table] DEBUG: Col 3 width (no merge): 9
    [table] DEBUG: Natural column widths: map[0:13 1:10 2:15 3:9]
    [table] DEBUG: Widths after merged header expansion: map[0:13 1:10 2:15 3:9]
    [table] DEBUG: Final normalized widths: header=map[0:13 1:10 2:15 3:9], row=map[0:13 1:10 2:15 3:9], footer=map[0:13 1:10 2:15 3:9]
    [table] DEBUG: Initial normalized widths (before hiding): H=map[0:13 1:10 2:15 3:9], R=map[0:13 1:10 2:15 3:9], F=map[0:13 1:10 2:15 3:9]
    [table] DEBUG: PrepareWithMerges START: position=header, mergeMode=0
    [table] DEBUG: PrepareWithMerges END: position=header, lines=1, mergeMapH: map[]
    [table] DEBUG: PrepareWithMerges START: position=row, mergeMode=4
    [table] DEBUG: PrepareWithMerges END: position=row, lines=1, mergeMapH: map[]
    [table] DEBUG: PrepareWithMerges START: position=row, mergeMode=4
    [table] DEBUG: PrepareWithMerges END: position=row, lines=1, mergeMapH: map[]
    [table] DEBUG: PrepareWithMerges START: position=row, mergeMode=4
    [table] DEBUG: PrepareWithMerges END: position=row, lines=1, mergeMapH: map[]
    [table] DEBUG: PrepareWithMerges START: position=row, mergeMode=4
    [table] DEBUG: PrepareWithMerges END: position=row, lines=1, mergeMapH: map[]
    [table] DEBUG: PrepareWithMerges START: position=row, mergeMode=4
    [table] DEBUG: PrepareWithMerges END: position=row, lines=1, mergeMapH: map[]
    [table] DEBUG: applyHorizontalMergeWidths: Applying HMerge width recalc for header
    [table] DEBUG: applyHorizontalMergeWidths: Final widths for header: map[0:13 1:10 2:15 3:9]
    [table] DEBUG: Applying hierarchical merges (left-to-right vertical flow - snapshot comparison)
    [table] DEBUG: Created snapshot of original row data for hierarchical merge comparison.
    [table] DEBUG: HCompare: r=1, c=0; current='Engineering', above='Engineering'; match=true; leftCont=false; shouldCont=true
    [table] DEBUG: Hierarchical merge START detected for block ending at or after row 1, col 0 (started at row 0)
    [table] DEBUG: HCompare: r=1, c=1; current='Backend', above='Backend'; match=true; leftCont=true; shouldCont=true
    [table] DEBUG: Hierarchical merge START detected for block ending at or after row 1, col 1 (started at row 0)
    [table] DEBUG: HCompare: r=1, c=2; current='Database Team', above='API Team'; match=false; leftCont=true; shouldCont=false
    [table] DEBUG: HCompare: r=1, c=3; current='Bob', above='Alice'; match=false; leftCont=false; shouldCont=false
    [table] DEBUG: HCompare: r=2, c=0; current='Engineering', above='Engineering'; match=true; leftCont=false; shouldCont=true
    [table] DEBUG: Hierarchical merge CONTINUED row 2, col 0. Block previously started row 0
    [table] DEBUG: HCompare: r=2, c=1; current='Frontend', above='Backend'; match=false; leftCont=true; shouldCont=false
    [table] DEBUG: Finalizing H-merge block: col=1, startRow=0, endRow=1, span=2
    [table] DEBUG:  -> Updated start state: {Present:true Span:2 Start:true End:false}
    [table] DEBUG:  -> Updated end state: {Present:true Span:2 Start:false End:true}
    [table] DEBUG: HCompare: r=2, c=2; current='UI Team', above='Database Team'; match=false; leftCont=false; shouldCont=false
    [table] DEBUG: HCompare: r=2, c=3; current='Charlie', above='Bob'; match=false; leftCont=false; shouldCont=false
    [table] DEBUG: HCompare: r=3, c=0; current='Marketing', above='Engineering'; match=false; leftCont=false; shouldCont=false
    [table] DEBUG: Finalizing H-merge block: col=0, startRow=0, endRow=2, span=3
    [table] DEBUG:  -> Updated start state: {Present:true Span:3 Start:true End:false}
    [table] DEBUG:  -> Updated end state: {Present:true Span:3 Start:false End:true}
    [table] DEBUG: HCompare: r=3, c=1; current='Digital', above='Frontend'; match=false; leftCont=false; shouldCont=false
    [table] DEBUG: HCompare: r=3, c=2; current='SEO Team', above='UI Team'; match=false; leftCont=false; shouldCont=false
    [table] DEBUG: HCompare: r=3, c=3; current='Dave', above='Charlie'; match=false; leftCont=false; shouldCont=false
    [table] DEBUG: HCompare: r=4, c=0; current='Marketing', above='Marketing'; match=true; leftCont=false; shouldCont=true
    [table] DEBUG: Hierarchical merge START detected for block ending at or after row 4, col 0 (started at row 3)
    [table] DEBUG: HCompare: r=4, c=1; current='Digital', above='Digital'; match=true; leftCont=true; shouldCont=true
    [table] DEBUG: Hierarchical merge START detected for block ending at or after row 4, col 1 (started at row 3)
    [table] DEBUG: HCompare: r=4, c=2; current='Content Team', above='SEO Team'; match=false; leftCont=true; shouldCont=false
    [table] DEBUG: HCompare: r=4, c=3; current='Eve', above='Dave'; match=false; leftCont=false; shouldCont=false
    [table] DEBUG: Finalizing H-merge block: col=0, startRow=3, endRow=4, span=2
    [table] DEBUG:  -> Updated start state: {Present:true Span:2 Start:true End:false}
    [table] DEBUG:  -> Updated end state: {Present:true Span:2 Start:false End:true}
    [table] DEBUG: Finalizing H-merge block: col=1, startRow=3, endRow=4, span=2
    [table] DEBUG:  -> Updated start state: {Present:true Span:2 Start:true End:false}
    [table] DEBUG:  -> Updated end state: {Present:true Span:2 Start:false End:true}
    [table] DEBUG: Hierarchical merge processing completed
    [table] DEBUG: Preparing footer with merge mode: 2
    [table] DEBUG: PrepareWithMerges START: position=footer, mergeMode=2
    [table] DEBUG: Checking for horizontal merges (logical cell comparison) for 1 visual lines, 4 columns
    [table] DEBUG: Standard horizontal merge (logical cell): startCol 1, span 3 for content '5'
    [table] DEBUG: PrepareWithMerges END: position=footer, lines=1, mergeMapH: map[1:{true 3 true false} 2:{true 3 false false} 3:{true 3 false true}]
    [table] DEBUG: Base footer widths (normalized from rows/header): map[0:13 1:10 2:15 3:9]
    [table] DEBUG: applyHorizontalMergeWidths: Applying HMerge width recalc for footer
    [table] DEBUG:   -> HMerge detected: startCol=1, span=3, separatorWidth=1
    [table] DEBUG:       -> col 1: adding normalized width 10
    [table] DEBUG:       -> col 2: adding normalized width 15
    [table] DEBUG:       -> col 2: adding separator width 1
    [table] DEBUG:       -> col 3: adding normalized width 9
    [table] DEBUG:       -> col 3: adding separator width 1
    [table] DEBUG:   -> Set footer col 1 width to 36 (merged)
    [table] DEBUG:   -> Set footer col 2 width to 0 (part of merge)
    [table] DEBUG:   -> Set footer col 3 width to 0 (part of merge)
    [table] DEBUG: applyHorizontalMergeWidths: Final widths for footer: map[0:13 1:36 2:0 3:0]
    [table] DEBUG: Footer preparation completed. Final footer widths: map[0:13 1:36 2:0 3:0]
    [table] DEBUG: Footer prepared. Widths before hiding: H=map[0:13 1:10 2:15 3:9], R=map[0:13 1:10 2:15 3:9], F=map[0:13 1:36 2:0 3:0]
    [table] DEBUG: AutoHide is disabled, skipping width adjustment.
    [table] DEBUG: prepareContexts completed all stages.
    [table/blueprint] DEBUG: Blueprint.Start() called (no-op).
    [table] DEBUG: Rendering header section
    [table] DEBUG: buildAligns INPUT: deprecated Formatting.Alignment=, deprecated ColumnAligns=[], config.Alignment.Global=center, config.Alignment.PerColumn=[]
    [table] DEBUG: getNumColsToUse (batch): Using cached t.batchRenderNumCols: 4 (because isBatchRenderNumColsSet is true)
    [table] DEBUG: Aligns built: map[0:center 1:center 2:center 3:center] (length 4)
    [table] DEBUG: getNumColsToUse (batch): Using cached t.batchRenderNumCols: 4 (because isBatchRenderNumColsSet is true)
    [table] DEBUG: Padding built: map[0:{      true} 1:{      true} 2:{      true} 3:{      true}] (length 4)
    [table] DEBUG: Rendering table top border
    [table/blueprint/junction] DEBUG: RenderLeft: Level=0, Location=first, Previous=map[]
    [table/blueprint] DEBUG: Line: Left border='┌' (f.width 1)
    [table/blueprint] DEBUG: Line: sortedKeys=[0 1 2 3], Widths=map[0:13 1:10 2:15 3:9], visibleColIndices=[0 1 2 3], targetTotalWidth=52
    [table/blueprint/junction] DEBUG: GetSegment col 0: VPassThruStrict=false -> Colored row symbol '─'
    [table/blueprint] DEBUG: Line: colIdx=0, segment='─', adjusted colWidth=13
    [table/blueprint] DEBUG: Line: Rendered segment='─────────────' (f.width 13) for col 0
    [table/blueprint] DEBUG: Line: Junction between 0 and 1: '┬' (f.width 1)
    [table/blueprint/junction] DEBUG: GetSegment col 1: VPassThruStrict=false -> Colored row symbol '─'
    [table/blueprint] DEBUG: Line: colIdx=1, segment='─', adjusted colWidth=10
    [table/blueprint] DEBUG: Line: Rendered segment='──────────' (f.width 10) for col 1
    [table/blueprint] DEBUG: Line: Junction between 1 and 2: '┬' (f.width 1)
    [table/blueprint/junction] DEBUG: GetSegment col 2: VPassThruStrict=false -> Colored row symbol '─'
    [table/blueprint] DEBUG: Line: colIdx=2, segment='─', adjusted colWidth=15
    [table/blueprint] DEBUG: Line: Rendered segment='───────────────' (f.width 15) for col 2
    [table/blueprint] DEBUG: Line: Junction between 2 and 3: '┬' (f.width 1)
    [table/blueprint/junction] DEBUG: GetSegment col 3: VPassThruStrict=false -> Colored row symbol '─'
    [table/blueprint/junction] DEBUG: RenderRight: lastColIdx=3, Level=0, Location=first, Previous=map[]
    [table/blueprint] DEBUG: Line: colIdx=3, segment='─', adjusted colWidth=9
    [table/blueprint] DEBUG: Line: Rendered segment='─────────' (f.width 9) for col 3
    [table/blueprint/junction] DEBUG: RenderRight: lastColIdx=3, Level=0, Location=first, Previous=map[]
    [table/blueprint] DEBUG: Line: Right border='┐' (f.width 1)
    [table/blueprint] DEBUG: Line rendered: '┌─────────────┬──────────┬───────────────┬─────────┐' (total width 52, target 52)
    [table] DEBUG: buildCellContexts: Building contexts for position=header, rowIdx=0, lineIdx=0
    [table] DEBUG: buildCoreCellContexts: Built cell contexts for 4 columns
    [table/blueprint] DEBUG: Starting Header render: IsSubRow=false, Location=first, Pos=header, lines=4, widths=map[0:13 1:10 2:15 3:9]
    [table/blueprint] DEBUG: renderLine: Prefix='│' (f.width 1)
    [table/blueprint] DEBUG: renderLine: Regular col 0, visualWidth 13
    [table/blueprint] DEBUG: Formatting cell: content='DEPARTMENT', width=13, align=center, padding={L:' ' R:' '}
    [table/blueprint] DEBUG: Available content width: 11
    [table/blueprint] DEBUG: Total padding width: 3
    [table/blueprint] DEBUG: Applied right centering padding: ' ' for 1 width
    [table/blueprint] DEBUG: Formatted cell final result: ' DEPARTMENT  ' (target width 13)
    [table/blueprint] DEBUG: renderLine: Rendered col 0, formattedCell=' DEPARTMENT  ' (f.width 13), totalLineWidth=14
    [table/blueprint] DEBUG: renderLine: Rendered regular col 0 (visualWidth 13, align center): ' DEPARTMENT  '
    [table/blueprint] DEBUG: renderLine: Added separator '│' before col 1 (f.width 1)
    [table/blueprint] DEBUG: renderLine: Regular col 1, visualWidth 10
    [table/blueprint] DEBUG: Formatting cell: content='DIVISION', width=10, align=center, padding={L:' ' R:' '}
    [table/blueprint] DEBUG: Available content width: 8
    [table/blueprint] DEBUG: Total padding width: 2
    [table/blueprint] DEBUG: Formatted cell final result: ' DIVISION ' (target width 10)
    [table/blueprint] DEBUG: renderLine: Rendered col 1, formattedCell=' DIVISION ' (f.width 10), totalLineWidth=25
    [table/blueprint] DEBUG: renderLine: Rendered regular col 1 (visualWidth 10, align center): ' DIVISION '
    [table/blueprint] DEBUG: renderLine: Added separator '│' before col 2 (f.width 1)
    [table/blueprint] DEBUG: renderLine: Regular col 2, visualWidth 15
    [table/blueprint] DEBUG: Formatting cell: content='TEAM', width=15, align=center, padding={L:' ' R:' '}
    [table/blueprint] DEBUG: Available content width: 13
    [table/blueprint] DEBUG: Total padding width: 11
    [table/blueprint] DEBUG: Applied left centering padding: ' ' for 4 width
    [table/blueprint] DEBUG: Applied right centering padding: ' ' for 5 width
    [table/blueprint] DEBUG: Formatted cell final result: '     TEAM      ' (target width 15)
    [table/blueprint] DEBUG: renderLine: Rendered col 2, formattedCell='     TEAM      ' (f.width 15), totalLineWidth=41
    [table/blueprint] DEBUG: renderLine: Rendered regular col 2 (visualWidth 15, align center): '     TEAM      '
    [table/blueprint] DEBUG: renderLine: Added separator '│' before col 3 (f.width 1)
    [table/blueprint] DEBUG: renderLine: Regular col 3, visualWidth 9
    [table/blueprint] DEBUG: Formatting cell: content='LEAD', width=9, align=center, padding={L:' ' R:' '}
    [table/blueprint] DEBUG: Available content width: 7
    [table/blueprint] DEBUG: Total padding width: 5
    [table/blueprint] DEBUG: Applied left centering padding: ' ' for 1 width
    [table/blueprint] DEBUG: Applied right centering padding: ' ' for 2 width
    [table/blueprint] DEBUG: Formatted cell final result: '  LEAD   ' (target width 9)
    [table/blueprint] DEBUG: renderLine: Rendered col 3, formattedCell='  LEAD   ' (f.width 9), totalLineWidth=51
    [table/blueprint] DEBUG: renderLine: Rendered regular col 3 (visualWidth 9, align center): '  LEAD   '
    [table/blueprint] DEBUG: renderLine: Suffix='│' (f.width 1)
    [table/blueprint] DEBUG: renderLine: Final rendered line: '│ DEPARTMENT  │ DIVISION │     TEAM      │  LEAD   │' (total width 52)
    [table/blueprint] DEBUG: Completed Header render
    [table] DEBUG: Rendering header separator line
    [table] DEBUG: buildCellContexts: Building contexts for position=header, rowIdx=0, lineIdx=0
    [table] DEBUG: buildCoreCellContexts: Built cell contexts for 4 columns
    [table] DEBUG: buildAligns INPUT: deprecated Formatting.Alignment=, deprecated ColumnAligns=[], config.Alignment.Global=left, config.Alignment.PerColumn=[]
    [table] DEBUG: getNumColsToUse (batch): Using cached t.batchRenderNumCols: 4 (because isBatchRenderNumColsSet is true)
    [table] DEBUG: Aligns built: map[0:left 1:left 2:left 3:left] (length 4)
    [table] DEBUG: getNumColsToUse (batch): Using cached t.batchRenderNumCols: 4 (because isBatchRenderNumColsSet is true)
    [table] DEBUG: Padding built: map[0:{      true} 1:{      true} 2:{      true} 3:{      true}] (length 4)
    [table] DEBUG: buildCellContexts: Building contexts for position=row, rowIdx=0, lineIdx=0
    [table] DEBUG: buildCoreCellContexts: Built cell contexts for 4 columns
    [table/blueprint/junction] DEBUG: RenderLeft: Level=1, Location=middle, Previous=map[]
    [table/blueprint] DEBUG: Line: Left border='├' (f.width 1)
    [table/blueprint] DEBUG: Line: sortedKeys=[0 1 2 3], Widths=map[0:13 1:10 2:15 3:9], visibleColIndices=[0 1 2 3], targetTotalWidth=52
    [table/blueprint/junction] DEBUG: GetSegment col 0: VPassThruStrict=false -> Colored row symbol '─'
    [table/blueprint] DEBUG: Line: colIdx=0, segment='─', adjusted colWidth=13
    [table/blueprint] DEBUG: Line: Rendered segment='─────────────' (f.width 13) for col 0
    [table/blueprint] DEBUG: Line: Junction between 0 and 1: '┼' (f.width 1)
    [table/blueprint/junction] DEBUG: GetSegment col 1: VPassThruStrict=false -> Colored row symbol '─'
    [table/blueprint] DEBUG: Line: colIdx=1, segment='─', adjusted colWidth=10
    [table/blueprint] DEBUG: Line: Rendered segment='──────────' (f.width 10) for col 1
    [table/blueprint] DEBUG: Line: Junction between 1 and 2: '┼' (f.width 1)
    [table/blueprint/junction] DEBUG: GetSegment col 2: VPassThruStrict=false -> Colored row symbol '─'
    [table/blueprint] DEBUG: Line: colIdx=2, segment='─', adjusted colWidth=15
    [table/blueprint] DEBUG: Line: Rendered segment='───────────────' (f.width 15) for col 2
    [table/blueprint] DEBUG: Line: Junction between 2 and 3: '┼' (f.width 1)
    [table/blueprint/junction] DEBUG: GetSegment col 3: VPassThruStrict=false -> Colored row symbol '─'
    [table/blueprint/junction] DEBUG: RenderRight: lastColIdx=3, Level=1, Location=middle, Previous=map[]
    [table/blueprint] DEBUG: Line: colIdx=3, segment='─', adjusted colWidth=9
    [table/blueprint] DEBUG: Line: Rendered segment='─────────' (f.width 9) for col 3
    [table/blueprint/junction] DEBUG: RenderRight: lastColIdx=3, Level=1, Location=middle, Previous=map[]
    [table/blueprint] DEBUG: Line: Right border='┤' (f.width 1)
    [table/blueprint] DEBUG: Line rendered: '├─────────────┼──────────┼───────────────┼─────────┤' (total width 52, target 52)
    [table] DEBUG: Rendering row section (total rows: 5)
    [table] DEBUG: buildAligns INPUT: deprecated Formatting.Alignment=, deprecated ColumnAligns=[], config.Alignment.Global=left, config.Alignment.PerColumn=[]
    [table] DEBUG: getNumColsToUse (batch): Using cached t.batchRenderNumCols: 4 (because isBatchRenderNumColsSet is true)
    [table] DEBUG: Aligns built: map[0:left 1:left 2:left 3:left] (length 4)
    [table] DEBUG: getNumColsToUse (batch): Using cached t.batchRenderNumCols: 4 (because isBatchRenderNumColsSet is true)
    [table] DEBUG: Padding built: map[0:{      true} 1:{      true} 2:{      true} 3:{      true}] (length 4)
    [table] DEBUG: Rendering row 0 line 0 with location middle. Content: ["Engineering" "Backend" "API Team" "Alice"]
    [table] DEBUG: buildCellContexts: Building contexts for position=row, rowIdx=0, lineIdx=0
    [table] DEBUG: buildCoreCellContexts: Built cell contexts for 4 columns
    [table/blueprint] DEBUG: Starting Row render: IsSubRow=false, Location=middle, Pos=row, hasFooter=true
    [table/blueprint] DEBUG: renderLine: Prefix='│' (f.width 1)
    [table/blueprint] DEBUG: renderLine: Regular col 0, visualWidth 13
    [table/blueprint] DEBUG: Formatting cell: content='Engineering', width=13, align=left, padding={L:' ' R:' '}
    [table/blueprint] DEBUG: Available content width: 11
    [table/blueprint] DEBUG: Total padding width: 2
    [table/blueprint] DEBUG: Applied right padding: ' ' for 1 width
    [table/blueprint] DEBUG: Formatted cell final result: ' Engineering ' (target width 13)
    [table/blueprint] DEBUG: renderLine: Rendered col 0, formattedCell=' Engineering ' (f.width 13), totalLineWidth=14
    [table/blueprint] DEBUG: renderLine: Rendered regular col 0 (visualWidth 13, align left): ' Engineering '
    [table/blueprint] DEBUG: renderLine: Added separator '│' before col 1 (f.width 1)
    [table/blueprint] DEBUG: renderLine: Regular col 1, visualWidth 10
    [table/blueprint] DEBUG: Formatting cell: content='Backend', width=10, align=left, padding={L:' ' R:' '}
    [table/blueprint] DEBUG: Available content width: 8
    [table/blueprint] DEBUG: Total padding width: 3
    [table/blueprint] DEBUG: Applied right padding: ' ' for 2 width
    [table/blueprint] DEBUG: Formatted cell final result: ' Backend  ' (target width 10)
    [table/blueprint] DEBUG: renderLine: Rendered col 1, formattedCell=' Backend  ' (f.width 10), totalLineWidth=25
    [table/blueprint] DEBUG: renderLine: Rendered regular col 1 (visualWidth 10, align left): ' Backend  '
    [table/blueprint] DEBUG: renderLine: Added separator '│' before col 2 (f.width 1)
    [table/blueprint] DEBUG: renderLine: Regular col 2, visualWidth 15
    [table/blueprint] DEBUG: Formatting cell: content='API Team', width=15, align=left, padding={L:' ' R:' '}
    [table/blueprint] DEBUG: Available content width: 13
    [table/blueprint] DEBUG: Total padding width: 7
    [table/blueprint] DEBUG: Applied right padding: ' ' for 6 width
    [table/blueprint] DEBUG: Formatted cell final result: ' API Team      ' (target width 15)
    [table/blueprint] DEBUG: renderLine: Rendered col 2, formattedCell=' API Team      ' (f.width 15), totalLineWidth=41
    [table/blueprint] DEBUG: renderLine: Rendered regular col 2 (visualWidth 15, align left): ' API Team      '
    [table/blueprint] DEBUG: renderLine: Added separator '│' before col 3 (f.width 1)
    [table/blueprint] DEBUG: renderLine: Regular col 3, visualWidth 9
    [table/blueprint] DEBUG: Formatting cell: content='Alice', width=9, align=left, padding={L:' ' R:' '}
    [table/blueprint] DEBUG: Available content width: 7
    [table/blueprint] DEBUG: Total padding width: 4
    [table/blueprint] DEBUG: Applied right padding: ' ' for 3 width
    [table/blueprint] DEBUG: Formatted cell final result: ' Alice   ' (target width 9)
    [table/blueprint] DEBUG: renderLine: Rendered col 3, formattedCell=' Alice   ' (f.width 9), totalLineWidth=51
    [table/blueprint] DEBUG: renderLine: Rendered regular col 3 (visualWidth 9, align left): ' Alice   '
    [table/blueprint] DEBUG: renderLine: Suffix='│' (f.width 1)
    [table/blueprint] DEBUG: renderLine: Final rendered line: '│ Engineering │ Backend  │ API Team      │ Alice   │' (total width 52)
    [table/blueprint] DEBUG: Completed Row render
    [table] DEBUG: Rendering between-rows separator after logical row %d 0
    [table] DEBUG: buildCellContexts: Building contexts for position=row, rowIdx=0, lineIdx=0
    [table] DEBUG: buildCoreCellContexts: Built cell contexts for 4 columns
    [table] DEBUG: buildCellContexts: Building contexts for position=row, rowIdx=1, lineIdx=0
    [table] DEBUG: buildCoreCellContexts: Built cell contexts for 4 columns
    [table/blueprint/junction] DEBUG: RenderLeft: Level=1, Location=middle, Previous=map[0:{DEPARTMENT  {    false} 13 {{false 0 false false} {false 0 false false} {false 0 false false}}} 1:{DIVISION  {    false} 10 {{false 0 false false} {false 0 false false} {false 0 false false}}} 2:{TEAM  {    false} 15 {{false 0 false false} {false 0 false false} {false 0 false false}}} 3:{LEAD  {    false} 9 {{false 0 false false} {false 0 false false} {false 0 false false}}}]
    [table/blueprint] DEBUG: Line: Left border='│' (f.width 1)
    [table/blueprint] DEBUG: Line: sortedKeys=[0 1 2 3], Widths=map[0:13 1:10 2:15 3:9], visibleColIndices=[0 1 2 3], targetTotalWidth=52
    [table/blueprint/junction] DEBUG: GetSegment col 0: VPassThruStrict=true -> Empty segment
    [table/blueprint] DEBUG: Line: colIdx=0, segment='', adjusted colWidth=13
    [table/blueprint] DEBUG: Line: Rendered spaces='             ' (f.width 13) for col 0
    [table/blueprint] DEBUG: Line: Junction between 0 and 1: '│' (f.width 1)
    [table/blueprint/junction] DEBUG: GetSegment col 1: VPassThruStrict=true -> Empty segment
    [table/blueprint] DEBUG: Line: colIdx=1, segment='', adjusted colWidth=10
    [table/blueprint] DEBUG: Line: Rendered spaces='          ' (f.width 10) for col 1
    [table/blueprint] DEBUG: Line: Junction between 1 and 2: '├' (f.width 1)
    [table/blueprint/junction] DEBUG: GetSegment col 2: VPassThruStrict=false -> Colored row symbol '─'
    [table/blueprint] DEBUG: Line: colIdx=2, segment='─', adjusted colWidth=15
    [table/blueprint] DEBUG: Line: Rendered segment='───────────────' (f.width 15) for col 2
    [table/blueprint] DEBUG: Line: Junction between 2 and 3: '┼' (f.width 1)
    [table/blueprint/junction] DEBUG: GetSegment col 3: VPassThruStrict=false -> Colored row symbol '─'
    [table/blueprint/junction] DEBUG: RenderRight: lastColIdx=3, Level=1, Location=middle, Previous=map[0:{DEPARTMENT  {    false} 13 {{false 0 false false} {false 0 false false} {false 0 false false}}} 1:{DIVISION  {    false} 10 {{false 0 false false} {false 0 false false} {false 0 false false}}} 2:{TEAM  {    false} 15 {{false 0 false false} {false 0 false false} {false 0 false false}}} 3:{LEAD  {    false} 9 {{false 0 false false} {false 0 false false} {false 0 false false}}}]
    [table/blueprint] DEBUG: Line: colIdx=3, segment='─', adjusted colWidth=9
    [table/blueprint] DEBUG: Line: Rendered segment='─────────' (f.width 9) for col 3
    [table/blueprint/junction] DEBUG: RenderRight: lastColIdx=3, Level=1, Location=middle, Previous=map[0:{DEPARTMENT  {    false} 13 {{false 0 false false} {false 0 false false} {false 0 false false}}} 1:{DIVISION  {    false} 10 {{false 0 false false} {false 0 false false} {false 0 false false}}} 2:{TEAM  {    false} 15 {{false 0 false false} {false 0 false false} {false 0 false false}}} 3:{LEAD  {    false} 9 {{false 0 false false} {false 0 false false} {false 0 false false}}}]
    [table/blueprint] DEBUG: Line: Right border='┤' (f.width 1)
    [table/blueprint] DEBUG: Line rendered: '│             │          ├───────────────┼─────────┤' (total width 52, target 52)
    [table] DEBUG: Rendering row 1 line 0 with location middle. Content: ["" "" "Database Team" "Bob"]
    [table] DEBUG: buildCellContexts: Building contexts for position=row, rowIdx=1, lineIdx=0
    [table] DEBUG: buildCoreCellContexts: Built cell contexts for 4 columns
    [table/blueprint] DEBUG: Starting Row render: IsSubRow=false, Location=middle, Pos=row, hasFooter=true
    [table/blueprint] DEBUG: renderLine: Prefix='│' (f.width 1)
    [table/blueprint] DEBUG: renderLine: Regular col 0, visualWidth 13
    [table/blueprint] DEBUG: renderLine: Blanked data for col 0 (non-start V/Hierarchical)
    [table/blueprint] DEBUG: Formatting cell: content='', width=13, align=left, padding={L:' ' R:' '}
    [table/blueprint] DEBUG: Available content width: 11
    [table/blueprint] DEBUG: Total padding width: 13
    [table/blueprint] DEBUG: Applied right padding: ' ' for 12 width
    [table/blueprint] DEBUG: Formatted cell final result: '             ' (target width 13)
    [table/blueprint] DEBUG: renderLine: Rendered col 0, formattedCell='             ' (f.width 13), totalLineWidth=14
    [table/blueprint] DEBUG: renderLine: Rendered regular col 0 (visualWidth 13, align left): '             '
    [table/blueprint] DEBUG: renderLine: Added separator '│' before col 1 (f.width 1)
    [table/blueprint] DEBUG: renderLine: Regular col 1, visualWidth 10
    [table/blueprint] DEBUG: renderLine: Blanked data for col 1 (non-start V/Hierarchical)
    [table/blueprint] DEBUG: Formatting cell: content='', width=10, align=left, padding={L:' ' R:' '}
    [table/blueprint] DEBUG: Available content width: 8
    [table/blueprint] DEBUG: Total padding width: 10
    [table/blueprint] DEBUG: Applied right padding: ' ' for 9 width
    [table/blueprint] DEBUG: Formatted cell final result: '          ' (target width 10)
    [table/blueprint] DEBUG: renderLine: Rendered col 1, formattedCell='          ' (f.width 10), totalLineWidth=25
    [table/blueprint] DEBUG: renderLine: Rendered regular col 1 (visualWidth 10, align left): '          '
    [table/blueprint] DEBUG: renderLine: Added separator '│' before col 2 (f.width 1)
    [table/blueprint] DEBUG: renderLine: Regular col 2, visualWidth 15
    [table/blueprint] DEBUG: Formatting cell: content='Database Team', width=15, align=left, padding={L:' ' R:' '}
    [table/blueprint] DEBUG: Available content width: 13
    [table/blueprint] DEBUG: Total padding width: 2
    [table/blueprint] DEBUG: Applied right padding: ' ' for 1 width
    [table/blueprint] DEBUG: Formatted cell final result: ' Database Team ' (target width 15)
    [table/blueprint] DEBUG: renderLine: Rendered col 2, formattedCell=' Database Team ' (f.width 15), totalLineWidth=41
    [table/blueprint] DEBUG: renderLine: Rendered regular col 2 (visualWidth 15, align left): ' Database Team '
    [table/blueprint] DEBUG: renderLine: Added separator '│' before col 3 (f.width 1)
    [table/blueprint] DEBUG: renderLine: Regular col 3, visualWidth 9
    [table/blueprint] DEBUG: Formatting cell: content='Bob', width=9, align=left, padding={L:' ' R:' '}
    [table/blueprint] DEBUG: Available content width: 7
    [table/blueprint] DEBUG: Total padding width: 6
    [table/blueprint] DEBUG: Applied right padding: ' ' for 5 width
    [table/blueprint] DEBUG: Formatted cell final result: ' Bob     ' (target width 9)
    [table/blueprint] DEBUG: renderLine: Rendered col 3, formattedCell=' Bob     ' (f.width 9), totalLineWidth=51
    [table/blueprint] DEBUG: renderLine: Rendered regular col 3 (visualWidth 9, align left): ' Bob     '
    [table/blueprint] DEBUG: renderLine: Suffix='│' (f.width 1)
    [table/blueprint] DEBUG: renderLine: Final rendered line: '│             │          │ Database Team │ Bob     │' (total width 52)
    [table/blueprint] DEBUG: Completed Row render
    [table] DEBUG: Rendering between-rows separator after logical row %d 1
    [table] DEBUG: buildCellContexts: Building contexts for position=row, rowIdx=1, lineIdx=0
    [table] DEBUG: buildCoreCellContexts: Built cell contexts for 4 columns
    [table] DEBUG: buildCellContexts: Building contexts for position=row, rowIdx=2, lineIdx=0
    [table] DEBUG: buildCoreCellContexts: Built cell contexts for 4 columns
    [table/blueprint/junction] DEBUG: RenderLeft: Level=1, Location=middle, Previous=map[0:{Engineering  {    false} 13 {{false 0 false false} {false 0 false false} {true 3 true false}}} 1:{Backend  {    false} 10 {{false 0 false false} {false 0 false false} {true 2 true false}}} 2:{API Team  {    false} 15 {{false 0 false false} {false 0 false false} {false 0 false false}}} 3:{Alice  {    false} 9 {{false 0 false false} {false 0 false false} {false 0 false false}}}]
    [table/blueprint] DEBUG: Line: Left border='│' (f.width 1)
    [table/blueprint] DEBUG: Line: sortedKeys=[0 1 2 3], Widths=map[0:13 1:10 2:15 3:9], visibleColIndices=[0 1 2 3], targetTotalWidth=52
    [table/blueprint/junction] DEBUG: GetSegment col 0: VPassThruStrict=true -> Empty segment
    [table/blueprint] DEBUG: Line: colIdx=0, segment='', adjusted colWidth=13
    [table/blueprint] DEBUG: Line: Rendered spaces='             ' (f.width 13) for col 0
    [table/blueprint] DEBUG: Line: Junction between 0 and 1: '├' (f.width 1)
    [table/blueprint/junction] DEBUG: GetSegment col 1: VPassThruStrict=false -> Colored row symbol '─'
    [table/blueprint] DEBUG: Line: colIdx=1, segment='─', adjusted colWidth=10
    [table/blueprint] DEBUG: Line: Rendered segment='──────────' (f.width 10) for col 1
    [table/blueprint] DEBUG: Line: Junction between 1 and 2: '┼' (f.width 1)
    [table/blueprint/junction] DEBUG: GetSegment col 2: VPassThruStrict=false -> Colored row symbol '─'
    [table/blueprint] DEBUG: Line: colIdx=2, segment='─', adjusted colWidth=15
    [table/blueprint] DEBUG: Line: Rendered segment='───────────────' (f.width 15) for col 2
    [table/blueprint] DEBUG: Line: Junction between 2 and 3: '┼' (f.width 1)
    [table/blueprint/junction] DEBUG: GetSegment col 3: VPassThruStrict=false -> Colored row symbol '─'
    [table/blueprint/junction] DEBUG: RenderRight: lastColIdx=3, Level=1, Location=middle, Previous=map[0:{Engineering  {    false} 13 {{false 0 false false} {false 0 false false} {true 3 true false}}} 1:{Backend  {    false} 10 {{false 0 false false} {false 0 false false} {true 2 true false}}} 2:{API Team  {    false} 15 {{false 0 false false} {false 0 false false} {false 0 false false}}} 3:{Alice  {    false} 9 {{false 0 false false} {false 0 false false} {false 0 false false}}}]
    [table/blueprint] DEBUG: Line: colIdx=3, segment='─', adjusted colWidth=9
    [table/blueprint] DEBUG: Line: Rendered segment='─────────' (f.width 9) for col 3
    [table/blueprint/junction] DEBUG: RenderRight: lastColIdx=3, Level=1, Location=middle, Previous=map[0:{Engineering  {    false} 13 {{false 0 false false} {false 0 false false} {true 3 true false}}} 1:{Backend  {    false} 10 {{false 0 false false} {false 0 false false} {true 2 true false}}} 2:{API Team  {    false} 15 {{false 0 false false} {false 0 false false} {false 0 false false}}} 3:{Alice  {    false} 9 {{false 0 false false} {false 0 false false} {false 0 false false}}}]
    [table/blueprint] DEBUG: Line: Right border='┤' (f.width 1)
    [table/blueprint] DEBUG: Line rendered: '│             ├──────────┼───────────────┼─────────┤' (total width 52, target 52)
    [table] DEBUG: Rendering row 2 line 0 with location middle. Content: ["" "Frontend" "UI Team" "Charlie"]
    [table] DEBUG: buildCellContexts: Building contexts for position=row, rowIdx=2, lineIdx=0
    [table] DEBUG: buildCoreCellContexts: Built cell contexts for 4 columns
    [table/blueprint] DEBUG: Starting Row render: IsSubRow=false, Location=middle, Pos=row, hasFooter=true
    [table/blueprint] DEBUG: renderLine: Prefix='│' (f.width 1)
    [table/blueprint] DEBUG: renderLine: Regular col 0, visualWidth 13
    [table/blueprint] DEBUG: renderLine: Blanked data for col 0 (non-start V/Hierarchical)
    [table/blueprint] DEBUG: Formatting cell: content='', width=13, align=left, padding={L:' ' R:' '}
    [table/blueprint] DEBUG: Available content width: 11
    [table/blueprint] DEBUG: Total padding width: 13
    [table/blueprint] DEBUG: Applied right padding: ' ' for 12 width
    [table/blueprint] DEBUG: Formatted cell final result: '             ' (target width 13)
    [table/blueprint] DEBUG: renderLine: Rendered col 0, formattedCell='             ' (f.width 13), totalLineWidth=14
    [table/blueprint] DEBUG: renderLine: Rendered regular col 0 (visualWidth 13, align left): '             '
    [table/blueprint] DEBUG: renderLine: Added separator '│' before col 1 (f.width 1)
    [table/blueprint] DEBUG: renderLine: Regular col 1, visualWidth 10
    [table/blueprint] DEBUG: Formatting cell: content='Frontend', width=10, align=left, padding={L:' ' R:' '}
    [table/blueprint] DEBUG: Available content width: 8
    [table/blueprint] DEBUG: Total padding width: 2
    [table/blueprint] DEBUG: Applied right padding: ' ' for 1 width
    [table/blueprint] DEBUG: Formatted cell final result: ' Frontend ' (target width 10)
    [table/blueprint] DEBUG: renderLine: Rendered col 1, formattedCell=' Frontend ' (f.width 10), totalLineWidth=25
    [table/blueprint] DEBUG: renderLine: Rendered regular col 1 (visualWidth 10, align left): ' Frontend '
    [table/blueprint] DEBUG: renderLine: Added separator '│' before col 2 (f.width 1)
    [table/blueprint] DEBUG: renderLine: Regular col 2, visualWidth 15
    [table/blueprint] DEBUG: Formatting cell: content='UI Team', width=15, align=left, padding={L:' ' R:' '}
    [table/blueprint] DEBUG: Available content width: 13
    [table/blueprint] DEBUG: Total padding width: 8
    [table/blueprint] DEBUG: Applied right padding: ' ' for 7 width
    [table/blueprint] DEBUG: Formatted cell final result: ' UI Team       ' (target width 15)
    [table/blueprint] DEBUG: renderLine: Rendered col 2, formattedCell=' UI Team       ' (f.width 15), totalLineWidth=41
    [table/blueprint] DEBUG: renderLine: Rendered regular col 2 (visualWidth 15, align left): ' UI Team       '
    [table/blueprint] DEBUG: renderLine: Added separator '│' before col 3 (f.width 1)
    [table/blueprint] DEBUG: renderLine: Regular col 3, visualWidth 9
    [table/blueprint] DEBUG: Formatting cell: content='Charlie', width=9, align=left, padding={L:' ' R:' '}
    [table/blueprint] DEBUG: Available content width: 7
    [table/blueprint] DEBUG: Total padding width: 2
    [table/blueprint] DEBUG: Applied right padding: ' ' for 1 width
    [table/blueprint] DEBUG: Formatted cell final result: ' Charlie ' (target width 9)
    [table/blueprint] DEBUG: renderLine: Rendered col 3, formattedCell=' Charlie ' (f.width 9), totalLineWidth=51
    [table/blueprint] DEBUG: renderLine: Rendered regular col 3 (visualWidth 9, align left): ' Charlie '
    [table/blueprint] DEBUG: renderLine: Suffix='│' (f.width 1)
    [table/blueprint] DEBUG: renderLine: Final rendered line: '│             │ Frontend │ UI Team       │ Charlie │' (total width 52)
    [table/blueprint] DEBUG: Completed Row render
    [table] DEBUG: Rendering between-rows separator after logical row %d 2
    [table] DEBUG: buildCellContexts: Building contexts for position=row, rowIdx=2, lineIdx=0
    [table] DEBUG: buildCoreCellContexts: Built cell contexts for 4 columns
    [table] DEBUG: buildCellContexts: Building contexts for position=row, rowIdx=3, lineIdx=0
    [table] DEBUG: buildCoreCellContexts: Built cell contexts for 4 columns
    [table/blueprint/junction] DEBUG: RenderLeft: Level=1, Location=middle, Previous=map[0:{  {    false} 13 {{false 0 false false} {false 0 false false} {true 0 false false}}} 1:{  {    false} 10 {{false 0 false false} {false 0 false false} {true 2 false true}}} 2:{Database Team  {    false} 15 {{false 0 false false} {false 0 false false} {false 0 false false}}} 3:{Bob  {    false} 9 {{false 0 false false} {false 0 false false} {false 0 false false}}}]
    [table/blueprint] DEBUG: Line: Left border='├' (f.width 1)
    [table/blueprint] DEBUG: Line: sortedKeys=[0 1 2 3], Widths=map[0:13 1:10 2:15 3:9], visibleColIndices=[0 1 2 3], targetTotalWidth=52
    [table/blueprint/junction] DEBUG: GetSegment col 0: VPassThruStrict=false -> Colored row symbol '─'
    [table/blueprint] DEBUG: Line: colIdx=0, segment='─', adjusted colWidth=13
    [table/blueprint] DEBUG: Line: Rendered segment='─────────────' (f.width 13) for col 0
    [table/blueprint] DEBUG: Line: Junction between 0 and 1: '┼' (f.width 1)
    [table/blueprint/junction] DEBUG: GetSegment col 1: VPassThruStrict=false -> Colored row symbol '─'
    [table/blueprint] DEBUG: Line: colIdx=1, segment='─', adjusted colWidth=10
    [table/blueprint] DEBUG: Line: Rendered segment='──────────' (f.width 10) for col 1
    [table/blueprint] DEBUG: Line: Junction between 1 and 2: '┼' (f.width 1)
    [table/blueprint/junction] DEBUG: GetSegment col 2: VPassThruStrict=false -> Colored row symbol '─'
    [table/blueprint] DEBUG: Line: colIdx=2, segment='─', adjusted colWidth=15
    [table/blueprint] DEBUG: Line: Rendered segment='───────────────' (f.width 15) for col 2
    [table/blueprint] DEBUG: Line: Junction between 2 and 3: '┼' (f.width 1)
    [table/blueprint/junction] DEBUG: GetSegment col 3: VPassThruStrict=false -> Colored row symbol '─'
    [table/blueprint/junction] DEBUG: RenderRight: lastColIdx=3, Level=1, Location=middle, Previous=map[0:{  {    false} 13 {{false 0 false false} {false 0 false false} {true 0 false false}}} 1:{  {    false} 10 {{false 0 false false} {false 0 false false} {true 2 false true}}} 2:{Database Team  {    false} 15 {{false 0 false false} {false 0 false false} {false 0 false false}}} 3:{Bob  {    false} 9 {{false 0 false false} {false 0 false false} {false 0 false false}}}]
    [table/blueprint] DEBUG: Line: colIdx=3, segment='─', adjusted colWidth=9
    [table/blueprint] DEBUG: Line: Rendered segment='─────────' (f.width 9) for col 3
    [table/blueprint/junction] DEBUG: RenderRight: lastColIdx=3, Level=1, Location=middle, Previous=map[0:{  {    false} 13 {{false 0 false false} {false 0 false false} {true 0 false false}}} 1:{  {    false} 10 {{false 0 false false} {false 0 false false} {true 2 false true}}} 2:{Database Team  {    false} 15 {{false 0 false false} {false 0 false false} {false 0 false false}}} 3:{Bob  {    false} 9 {{false 0 false false} {false 0 false false} {false 0 false false}}}]
    [table/blueprint] DEBUG: Line: Right border='┤' (f.width 1)
    [table/blueprint] DEBUG: Line rendered: '├─────────────┼──────────┼───────────────┼─────────┤' (total width 52, target 52)
    [table] DEBUG: Rendering row 3 line 0 with location middle. Content: ["Marketing" "Digital" "SEO Team" "Dave"]
    [table] DEBUG: buildCellContexts: Building contexts for position=row, rowIdx=3, lineIdx=0
    [table] DEBUG: buildCoreCellContexts: Built cell contexts for 4 columns
    [table/blueprint] DEBUG: Starting Row render: IsSubRow=false, Location=middle, Pos=row, hasFooter=true
    [table/blueprint] DEBUG: renderLine: Prefix='│' (f.width 1)
    [table/blueprint] DEBUG: renderLine: Regular col 0, visualWidth 13
    [table/blueprint] DEBUG: Formatting cell: content='Marketing', width=13, align=left, padding={L:' ' R:' '}
    [table/blueprint] DEBUG: Available content width: 11
    [table/blueprint] DEBUG: Total padding width: 4
    [table/blueprint] DEBUG: Applied right padding: ' ' for 3 width
    [table/blueprint] DEBUG: Formatted cell final result: ' Marketing   ' (target width 13)
    [table/blueprint] DEBUG: renderLine: Rendered col 0, formattedCell=' Marketing   ' (f.width 13), totalLineWidth=14
    [table/blueprint] DEBUG: renderLine: Rendered regular col 0 (visualWidth 13, align left): ' Marketing   '
    [table/blueprint] DEBUG: renderLine: Added separator '│' before col 1 (f.width 1)
    [table/blueprint] DEBUG: renderLine: Regular col 1, visualWidth 10
    [table/blueprint] DEBUG: Formatting cell: content='Digital', width=10, align=left, padding={L:' ' R:' '}
    [table/blueprint] DEBUG: Available content width: 8
    [table/blueprint] DEBUG: Total padding width: 3
    [table/blueprint] DEBUG: Applied right padding: ' ' for 2 width
    [table/blueprint] DEBUG: Formatted cell final result: ' Digital  ' (target width 10)
    [table/blueprint] DEBUG: renderLine: Rendered col 1, formattedCell=' Digital  ' (f.width 10), totalLineWidth=25
    [table/blueprint] DEBUG: renderLine: Rendered regular col 1 (visualWidth 10, align left): ' Digital  '
    [table/blueprint] DEBUG: renderLine: Added separator '│' before col 2 (f.width 1)
    [table/blueprint] DEBUG: renderLine: Regular col 2, visualWidth 15
    [table/blueprint] DEBUG: Formatting cell: content='SEO Team', width=15, align=left, padding={L:' ' R:' '}
    [table/blueprint] DEBUG: Available content width: 13
    [table/blueprint] DEBUG: Total padding width: 7
    [table/blueprint] DEBUG: Applied right padding: ' ' for 6 width
    [table/blueprint] DEBUG: Formatted cell final result: ' SEO Team      ' (target width 15)
    [table/blueprint] DEBUG: renderLine: Rendered col 2, formattedCell=' SEO Team      ' (f.width 15), totalLineWidth=41
    [table/blueprint] DEBUG: renderLine: Rendered regular col 2 (visualWidth 15, align left): ' SEO Team      '
    [table/blueprint] DEBUG: renderLine: Added separator '│' before col 3 (f.width 1)
    [table/blueprint] DEBUG: renderLine: Regular col 3, visualWidth 9
    [table/blueprint] DEBUG: Formatting cell: content='Dave', width=9, align=left, padding={L:' ' R:' '}
    [table/blueprint] DEBUG: Available content width: 7
    [table/blueprint] DEBUG: Total padding width: 5
    [table/blueprint] DEBUG: Applied right padding: ' ' for 4 width
    [table/blueprint] DEBUG: Formatted cell final result: ' Dave    ' (target width 9)
    [table/blueprint] DEBUG: renderLine: Rendered col 3, formattedCell=' Dave    ' (f.width 9), totalLineWidth=51
    [table/blueprint] DEBUG: renderLine: Rendered regular col 3 (visualWidth 9, align left): ' Dave    '
    [table/blueprint] DEBUG: renderLine: Suffix='│' (f.width 1)
    [table/blueprint] DEBUG: renderLine: Final rendered line: '│ Marketing   │ Digital  │ SEO Team      │ Dave    │' (total width 52)
    [table/blueprint] DEBUG: Completed Row render
    [table] DEBUG: Rendering between-rows separator after logical row %d 3
    [table] DEBUG: buildCellContexts: Building contexts for position=row, rowIdx=3, lineIdx=0
    [table] DEBUG: buildCoreCellContexts: Built cell contexts for 4 columns
    [table] DEBUG: buildCellContexts: Building contexts for position=row, rowIdx=4, lineIdx=0
    [table] DEBUG: buildCoreCellContexts: Built cell contexts for 4 columns
    [table/blueprint/junction] DEBUG: RenderLeft: Level=1, Location=middle, Previous=map[0:{  {    false} 13 {{false 0 false false} {false 0 false false} {true 3 false true}}} 1:{Frontend  {    false} 10 {{false 0 false false} {false 0 false false} {false 0 false false}}} 2:{UI Team  {    false} 15 {{false 0 false false} {false 0 false false} {false 0 false false}}} 3:{Charlie  {    false} 9 {{false 0 false false} {false 0 false false} {false 0 false false}}}]
    [table/blueprint] DEBUG: Line: Left border='│' (f.width 1)
    [table/blueprint] DEBUG: Line: sortedKeys=[0 1 2 3], Widths=map[0:13 1:10 2:15 3:9], visibleColIndices=[0 1 2 3], targetTotalWidth=52
    [table/blueprint/junction] DEBUG: GetSegment col 0: VPassThruStrict=true -> Empty segment
    [table/blueprint] DEBUG: Line: colIdx=0, segment='', adjusted colWidth=13
    [table/blueprint] DEBUG: Line: Rendered spaces='             ' (f.width 13) for col 0
    [table/blueprint] DEBUG: Line: Junction between 0 and 1: '│' (f.width 1)
    [table/blueprint/junction] DEBUG: GetSegment col 1: VPassThruStrict=true -> Empty segment
    [table/blueprint] DEBUG: Line: colIdx=1, segment='', adjusted colWidth=10
    [table/blueprint] DEBUG: Line: Rendered spaces='          ' (f.width 10) for col 1
    [table/blueprint] DEBUG: Line: Junction between 1 and 2: '├' (f.width 1)
    [table/blueprint/junction] DEBUG: GetSegment col 2: VPassThruStrict=false -> Colored row symbol '─'
    [table/blueprint] DEBUG: Line: colIdx=2, segment='─', adjusted colWidth=15
    [table/blueprint] DEBUG: Line: Rendered segment='───────────────' (f.width 15) for col 2
    [table/blueprint] DEBUG: Line: Junction between 2 and 3: '┼' (f.width 1)
    [table/blueprint/junction] DEBUG: GetSegment col 3: VPassThruStrict=false -> Colored row symbol '─'
    [table/blueprint/junction] DEBUG: RenderRight: lastColIdx=3, Level=1, Location=middle, Previous=map[0:{  {    false} 13 {{false 0 false false} {false 0 false false} {true 3 false true}}} 1:{Frontend  {    false} 10 {{false 0 false false} {false 0 false false} {false 0 false false}}} 2:{UI Team  {    false} 15 {{false 0 false false} {false 0 false false} {false 0 false false}}} 3:{Charlie  {    false} 9 {{false 0 false false} {false 0 false false} {false 0 false false}}}]
    [table/blueprint] DEBUG: Line: colIdx=3, segment='─', adjusted colWidth=9
    [table/blueprint] DEBUG: Line: Rendered segment='─────────' (f.width 9) for col 3
    [table/blueprint/junction] DEBUG: RenderRight: lastColIdx=3, Level=1, Location=middle, Previous=map[0:{  {    false} 13 {{false 0 false false} {false 0 false false} {true 3 false true}}} 1:{Frontend  {    false} 10 {{false 0 false false} {false 0 false false} {false 0 false false}}} 2:{UI Team  {    false} 15 {{false 0 false false} {false 0 false false} {false 0 false false}}} 3:{Charlie  {    false} 9 {{false 0 false false} {false 0 false false} {false 0 false false}}}]
    [table/blueprint] DEBUG: Line: Right border='┤' (f.width 1)
    [table/blueprint] DEBUG: Line rendered: '│             │          ├───────────────┼─────────┤' (total width 52, target 52)
    [table] DEBUG: Rendering row 4 line 0 with location middle. Content: ["" "" "Content Team" "Eve"]
    [table] DEBUG: buildCellContexts: Building contexts for position=row, rowIdx=4, lineIdx=0
    [table] DEBUG: buildCoreCellContexts: Built cell contexts for 4 columns
    [table/blueprint] DEBUG: Starting Row render: IsSubRow=false, Location=middle, Pos=row, hasFooter=true
    [table/blueprint] DEBUG: renderLine: Prefix='│' (f.width 1)
    [table/blueprint] DEBUG: renderLine: Regular col 0, visualWidth 13
    [table/blueprint] DEBUG: renderLine: Blanked data for col 0 (non-start V/Hierarchical)
    [table/blueprint] DEBUG: Formatting cell: content='', width=13, align=left, padding={L:' ' R:' '}
    [table/blueprint] DEBUG: Available content width: 11
    [table/blueprint] DEBUG: Total padding width: 13
    [table/blueprint] DEBUG: Applied right padding: ' ' for 12 width
    [table/blueprint] DEBUG: Formatted cell final result: '             ' (target width 13)
    [table/blueprint] DEBUG: renderLine: Rendered col 0, formattedCell='             ' (f.width 13), totalLineWidth=14
    [table/blueprint] DEBUG: renderLine: Rendered regular col 0 (visualWidth 13, align left): '             '
    [table/blueprint] DEBUG: renderLine: Added separator '│' before col 1 (f.width 1)
    [table/blueprint] DEBUG: renderLine: Regular col 1, visualWidth 10
    [table/blueprint] DEBUG: renderLine: Blanked data for col 1 (non-start V/Hierarchical)
    [table/blueprint] DEBUG: Formatting cell: content='', width=10, align=left, padding={L:' ' R:' '}
    [table/blueprint] DEBUG: Available content width: 8
    [table/blueprint] DEBUG: Total padding width: 10
    [table/blueprint] DEBUG: Applied right padding: ' ' for 9 width
    [table/blueprint] DEBUG: Formatted cell final result: '          ' (target width 10)
    [table/blueprint] DEBUG: renderLine: Rendered col 1, formattedCell='          ' (f.width 10), totalLineWidth=25
    [table/blueprint] DEBUG: renderLine: Rendered regular col 1 (visualWidth 10, align left): '          '
    [table/blueprint] DEBUG: renderLine: Added separator '│' before col 2 (f.width 1)
    [table/blueprint] DEBUG: renderLine: Regular col 2, visualWidth 15
    [table/blueprint] DEBUG: Formatting cell: content='Content Team', width=15, align=left, padding={L:' ' R:' '}
    [table/blueprint] DEBUG: Available content width: 13
    [table/blueprint] DEBUG: Total padding width: 3
    [table/blueprint] DEBUG: Applied right padding: ' ' for 2 width
    [table/blueprint] DEBUG: Formatted cell final result: ' Content Team  ' (target width 15)
    [table/blueprint] DEBUG: renderLine: Rendered col 2, formattedCell=' Content Team  ' (f.width 15), totalLineWidth=41
    [table/blueprint] DEBUG: renderLine: Rendered regular col 2 (visualWidth 15, align left): ' Content Team  '
    [table/blueprint] DEBUG: renderLine: Added separator '│' before col 3 (f.width 1)
    [table/blueprint] DEBUG: renderLine: Regular col 3, visualWidth 9
    [table/blueprint] DEBUG: Formatting cell: content='Eve', width=9, align=left, padding={L:' ' R:' '}
    [table/blueprint] DEBUG: Available content width: 7
    [table/blueprint] DEBUG: Total padding width: 6
    [table/blueprint] DEBUG: Applied right padding: ' ' for 5 width
    [table/blueprint] DEBUG: Formatted cell final result: ' Eve     ' (target width 9)
    [table/blueprint] DEBUG: renderLine: Rendered col 3, formattedCell=' Eve     ' (f.width 9), totalLineWidth=51
    [table/blueprint] DEBUG: renderLine: Rendered regular col 3 (visualWidth 9, align left): ' Eve     '
    [table/blueprint] DEBUG: renderLine: Suffix='│' (f.width 1)
    [table/blueprint] DEBUG: renderLine: Final rendered line: '│             │          │ Content Team  │ Eve     │' (total width 52)
    [table/blueprint] DEBUG: Completed Row render
    [table] DEBUG: Rendering footer section (has elements)
    [table] DEBUG: buildAligns INPUT: deprecated Formatting.Alignment=, deprecated ColumnAligns=[], config.Alignment.Global=left, config.Alignment.PerColumn=[]
    [table] DEBUG: getNumColsToUse (batch): Using cached t.batchRenderNumCols: 4 (because isBatchRenderNumColsSet is true)
    [table] DEBUG: Aligns built: map[0:left 1:left 2:left 3:left] (length 4)
    [table] DEBUG: getNumColsToUse (batch): Using cached t.batchRenderNumCols: 4 (because isBatchRenderNumColsSet is true)
    [table] DEBUG: Padding built: map[0:{      true} 1:{      true} 2:{      true} 3:{      true}] (length 4)
    [table] DEBUG: Rendering footer separator line
    [table] DEBUG: buildAligns INPUT: deprecated Formatting.Alignment=, deprecated ColumnAligns=[], config.Alignment.Global=left, config.Alignment.PerColumn=[]
    [table] DEBUG: getNumColsToUse (batch): Using cached t.batchRenderNumCols: 4 (because isBatchRenderNumColsSet is true)
    [table] DEBUG: Aligns built: map[0:left 1:left 2:left 3:left] (length 4)
    [table] DEBUG: getNumColsToUse (batch): Using cached t.batchRenderNumCols: 4 (because isBatchRenderNumColsSet is true)
    [table] DEBUG: Padding built: map[0:{      true} 1:{      true} 2:{      true} 3:{      true}] (length 4)
    [table] DEBUG: buildCellContexts: Building contexts for position=row, rowIdx=4, lineIdx=0
    [table] DEBUG: buildCoreCellContexts: Built cell contexts for 4 columns
    [table] DEBUG: Footer separator: Using Widths=map[0:13 1:10 2:15 3:9]
    [table/blueprint/junction] DEBUG: RenderLeft: Level=2, Location=middle, Previous=map[0:{Marketing  {    false} 13 {{false 0 false false} {false 0 false false} {true 2 true false}}} 1:{Digital  {    false} 10 {{false 0 false false} {false 0 false false} {true 2 true false}}} 2:{SEO Team  {    false} 15 {{false 0 false false} {false 0 false false} {false 0 false false}}} 3:{Dave  {    false} 9 {{false 0 false false} {false 0 false false} {false 0 false false}}}]
    [table/blueprint] DEBUG: Line: Left border='├' (f.width 1)
    [table/blueprint] DEBUG: Line: sortedKeys=[0 1 2 3], Widths=map[0:13 1:10 2:15 3:9], visibleColIndices=[0 1 2 3], targetTotalWidth=52
    [table/blueprint/junction] DEBUG: GetSegment col 0: VPassThruStrict=false -> Colored row symbol '─'
    [table/blueprint] DEBUG: Line: colIdx=0, segment='─', adjusted colWidth=13
    [table/blueprint] DEBUG: Line: Rendered segment='─────────────' (f.width 13) for col 0
    [table/blueprint] DEBUG: Line: Junction between 0 and 1: '┼' (f.width 1)
    [table/blueprint/junction] DEBUG: GetSegment col 1: VPassThruStrict=false -> Colored row symbol '─'
    [table/blueprint] DEBUG: Line: colIdx=1, segment='─', adjusted colWidth=10
    [table/blueprint] DEBUG: Line: Rendered segment='──────────' (f.width 10) for col 1
    [table/blueprint] DEBUG: Line: Junction between 1 and 2: '┴' (f.width 1)
    [table/blueprint/junction] DEBUG: GetSegment col 2: VPassThruStrict=false -> Colored row symbol '─'
    [table/blueprint] DEBUG: Line: colIdx=2, segment='─', adjusted colWidth=15
    [table/blueprint] DEBUG: Line: Rendered segment='───────────────' (f.width 15) for col 2
    [table/blueprint] DEBUG: Line: Junction between 2 and 3: '┴' (f.width 1)
    [table/blueprint/junction] DEBUG: GetSegment col 3: VPassThruStrict=false -> Colored row symbol '─'
    [table/blueprint/junction] DEBUG: RenderRight: lastColIdx=3, Level=2, Location=middle, Previous=map[0:{Marketing  {    false} 13 {{false 0 false false} {false 0 false false} {true 2 true false}}} 1:{Digital  {    false} 10 {{false 0 false false} {false 0 false false} {true 2 true false}}} 2:{SEO Team  {    false} 15 {{false 0 false false} {false 0 false false} {false 0 false false}}} 3:{Dave  {    false} 9 {{false 0 false false} {false 0 false false} {false 0 false false}}}]
    [table/blueprint] DEBUG: Line: colIdx=3, segment='─', adjusted colWidth=9
    [table/blueprint] DEBUG: Line: Rendered segment='─────────' (f.width 9) for col 3
    [table/blueprint/junction] DEBUG: RenderRight: lastColIdx=3, Level=2, Location=middle, Previous=map[0:{Marketing  {    false} 13 {{false 0 false false} {false 0 false false} {true 2 true false}}} 1:{Digital  {    false} 10 {{false 0 false false} {false 0 false false} {true 2 true false}}} 2:{SEO Team  {    false} 15 {{false 0 false false} {false 0 false false} {false 0 false false}}} 3:{Dave  {    false} 9 {{false 0 false false} {false 0 false false} {false 0 false false}}}]
    [table/blueprint] DEBUG: Line: Right border='┤' (f.width 1)
    [table/blueprint] DEBUG: Line rendered: '├─────────────┼──────────┴───────────────┴─────────┤' (total width 52, target 52)
    [table] DEBUG: Rendering footer content line 0 with location end
    [table] DEBUG: buildCellContexts: Building contexts for position=footer, rowIdx=0, lineIdx=0
    [table] DEBUG: buildCoreCellContexts: Built cell contexts for 4 columns
    [table/blueprint] DEBUG: Starting Footer render: IsSubRow=false, Location=end, Pos=footer
    [table/blueprint] DEBUG: renderLine: Prefix='│' (f.width 1)
    [table/blueprint] DEBUG: renderLine: Regular col 0, visualWidth 13
    [table/blueprint] DEBUG: Formatting cell: content='Total', width=13, align=left, padding={L:' ' R:' '}
    [table/blueprint] DEBUG: Available content width: 11
    [table/blueprint] DEBUG: Total padding width: 8
    [table/blueprint] DEBUG: Applied right padding: ' ' for 7 width
    [table/blueprint] DEBUG: Formatted cell final result: ' Total       ' (target width 13)
    [table/blueprint] DEBUG: renderLine: Rendered col 0, formattedCell=' Total       ' (f.width 13), totalLineWidth=14
    [table/blueprint] DEBUG: renderLine: Rendered regular col 0 (visualWidth 13, align left): ' Total       '
    [table/blueprint] DEBUG: renderLine: Added separator '│' before col 1 (f.width 1)
    [table/blueprint] DEBUG: renderLine: H/F HMerge col 1, span 3, pre-adjusted visualWidth 36
    [table/blueprint] DEBUG: renderLine: total pattern in row in 1
    [table/blueprint] DEBUG: Formatting cell: content='5', width=36, align=left, padding={L:' ' R:' '}
    [table/blueprint] DEBUG: Available content width: 34
    [table/blueprint] DEBUG: Total padding width: 35
    [table/blueprint] DEBUG: Applied right padding: ' ' for 34 width
    [table/blueprint] DEBUG: Formatted cell final result: ' 5                                  ' (target width 36)
    [table/blueprint] DEBUG: renderLine: Rendered col 1, formattedCell=' 5                                  ' (f.width 36), totalLineWidth=51
    [table/blueprint] DEBUG: renderLine: Rendered HMerge START col 1 (span 3, visualWidth 36, align left): ' 5                                  '
    [table/blueprint] DEBUG: renderLine: Suffix='│' (f.width 1)
    [table/blueprint] DEBUG: renderLine: Final rendered line: '│ Total       │ 5                                  │' (total width 52)
    [table/blueprint] DEBUG: Completed Footer render
    [table] DEBUG: Rendering final table bottom border
    [table] DEBUG: Setting border context based on last content line idx 0
    [table] DEBUG: buildCellContexts: Building contexts for position=footer, rowIdx=0, lineIdx=0
    [table] DEBUG: buildCoreCellContexts: Built cell contexts for 4 columns
    [table] DEBUG: Bottom border: Using Widths=map[0:13 1:10 2:15 3:9]
    [table/blueprint/junction] DEBUG: RenderLeft: Level=2, Location=end, Previous=map[0:{  {    false} 13 {{false 0 false false} {false 0 false false} {true 2 false true}}} 1:{  {    false} 10 {{false 0 false false} {false 0 false false} {true 2 false true}}} 2:{Content Team  {    false} 15 {{false 0 false false} {false 0 false false} {false 0 false false}}} 3:{Eve  {    false} 9 {{false 0 false false} {false 0 false false} {false 0 false false}}}]
    [table/blueprint] DEBUG: Line: Left border='└' (f.width 1)
    [table/blueprint] DEBUG: Line: sortedKeys=[0 1 2 3], Widths=map[0:13 1:10 2:15 3:9], visibleColIndices=[0 1 2 3], targetTotalWidth=52
    [table/blueprint/junction] DEBUG: GetSegment col 0: VPassThruStrict=false -> Colored row symbol '─'
    [table/blueprint] DEBUG: Line: colIdx=0, segment='─', adjusted colWidth=13
    [table/blueprint] DEBUG: Line: Rendered segment='─────────────' (f.width 13) for col 0
    [table/blueprint] DEBUG: Line: Junction between 0 and 1: '┴' (f.width 1)
    [table/blueprint/junction] DEBUG: GetSegment col 1: VPassThruStrict=false -> Colored row symbol '─'
    [table/blueprint] DEBUG: Line: colIdx=1, segment='─', adjusted colWidth=10
    [table/blueprint] DEBUG: Line: Rendered segment='──────────' (f.width 10) for col 1
    [table/blueprint] DEBUG: Line: Junction between 1 and 2: '─' (f.width 1)
    [table/blueprint/junction] DEBUG: GetSegment col 2: VPassThruStrict=false -> Colored row symbol '─'
    [table/blueprint] DEBUG: Line: colIdx=2, segment='─', adjusted colWidth=15
    [table/blueprint] DEBUG: Line: Rendered segment='───────────────' (f.width 15) for col 2
    [table/blueprint] DEBUG: Line: Junction between 2 and 3: '─' (f.width 1)
    [table/blueprint/junction] DEBUG: GetSegment col 3: VPassThruStrict=false -> Colored row symbol '─'
    [table/blueprint/junction] DEBUG: RenderRight: lastColIdx=3, Level=2, Location=end, Previous=map[0:{  {    false} 13 {{false 0 false false} {false 0 false false} {true 2 false true}}} 1:{  {    false} 10 {{false 0 false false} {false 0 false false} {true 2 false true}}} 2:{Content Team  {    false} 15 {{false 0 false false} {false 0 false false} {false 0 false false}}} 3:{Eve  {    false} 9 {{false 0 false false} {false 0 false false} {false 0 false false}}}]
    [table/blueprint] DEBUG: Line: colIdx=3, segment='─', adjusted colWidth=9
    [table/blueprint] DEBUG: Line: Rendered segment='─────────' (f.width 9) for col 3
    [table/blueprint/junction] DEBUG: RenderRight: lastColIdx=3, Level=2, Location=end, Previous=map[0:{  {    false} 13 {{false 0 false false} {false 0 false false} {true 2 false true}}} 1:{  {    false} 10 {{false 0 false false} {false 0 false false} {true 2 false true}}} 2:{Content Team  {    false} 15 {{false 0 false false} {false 0 false false} {false 0 false false}}} 3:{Eve  {    false} 9 {{false 0 false false} {false 0 false false} {false 0 false false}}}]
    [table/blueprint] DEBUG: Line: Right border='┘' (f.width 1)
    [table/blueprint] DEBUG: Line rendered: '└─────────────┴────────────────────────────────────┘' (total width 52, target 52)
    [table/blueprint] DEBUG: Blueprint.Close() called (no-op).
    [table] INFO: Render() completed.
    [table] DEBUG: Render(): Cleared isBatchRenderNumColsSet to false (batchRenderNumCols was 4).
    
  11. EppO commented on Aug 25, 2025

    @EppO
    ContributorAuthor

    I can open a new bug request if you need

  12. olekukonko commented on Aug 25, 2025

    @olekukonko
    Owner

    @EppO thank you for the pull request.

  13. olekukonko commented on Mar 24, 2026

    @olekukonko
    Owner

    @EppO it’s been a while… I’ve been working on a project and wanted to ask if you would help review ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions