Problem
In the Multi-Body Grid Architecture, several related bugs prevent proper viewing of locked headers and single-column sub-grids:
GridBody.createViewData() aborts early if mountedColumns[1] < 1. Single-column grids (like the locked-end DevIndex column) have a max index of 0, so they render 0 rows.
Container.beforeSetHeaderToolbar() gives headerToolbar (the center header) flex: 'none'. This causes it to expand infinitely based on inner buttons, pushing headerEnd out of the viewport.
ScrollManager.updateGridHorizontalScrollSyncAddon() applies horizontal scrolling to headerWrapper instead of headerToolbar, translating the entire header row out of view instead of just the center columns.
Container.syncBodies() incorrectly pushes horizontal scrollLeft to bodyStart and bodyEnd, causing them to incorrectly cull their columns because they falsely evaluate as being "off-screen".
Implementation Plan
- GridBody: Fix culling threshold
mountedColumns[1] < 0.
- Container: Apply
flex: 1 to headerToolbar.
- Container.syncBodies: Only apply
scrollLeft to the center body.
- ScrollManager: Change
headerId to target headerToolbar.
Problem
In the Multi-Body Grid Architecture, several related bugs prevent proper viewing of locked headers and single-column sub-grids:
GridBody.createViewData()aborts early ifmountedColumns[1] < 1. Single-column grids (like the locked-end DevIndex column) have a max index of 0, so they render 0 rows.Container.beforeSetHeaderToolbar()givesheaderToolbar(the center header)flex: 'none'. This causes it to expand infinitely based on inner buttons, pushingheaderEndout of the viewport.ScrollManager.updateGridHorizontalScrollSyncAddon()applies horizontal scrolling toheaderWrapperinstead ofheaderToolbar, translating the entire header row out of view instead of just the center columns.Container.syncBodies()incorrectly pushes horizontalscrollLefttobodyStartandbodyEnd, causing them to incorrectly cull their columns because they falsely evaluate as being "off-screen".Implementation Plan
mountedColumns[1] < 0.flex: 1toheaderToolbar.scrollLeftto the center body.headerIdto targetheaderToolbar.