[object Object]

← back to Commercialrealestate

Adopt column-manager.js into lending-grid.js engine — 5 pages in one edit (TK-10128)

91cb19fd66baee9ef3b243ea42d62fb07c0bd0af · 2026-08-01 22:41:27 -0700 · Steve Abrams

lending-grid.js is the shared engine behind lenders/credit-unions/sba-lenders/
mortgage-market/loan-officers, and carries the SAME column-state model (VISCOL/
COLORDER/colVis/saveCols/syncColOrder) in its closure. One engine edit wires the
shared column-manager panel (grouped + in-panel search + drag-reorder) as a view
over that closure state: replace buildFieldToggles, remove the now-duplicate
#fFields change handler, refresh the panel after a thead reorder. + column-manager.js
script tag on the 5 pages. Graceful fallback to the old grouped list if unloaded.

Verified live (:9943, real-mouse) on ALL 5: panel mounts with real semantic groups,
toggle re-renders the grid, resize works, 0 console errors.

Completes the column-manager adoption across every retrofittable CRCP grid: the 3
per-page (mls/gov-agents/sales) + these 5 via the shared engine = 8 pages on one
reusable module.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

Files touched

Diff

commit 91cb19fd66baee9ef3b243ea42d62fb07c0bd0af
Author: Steve Abrams <steve@designerwallcoverings.com>
Date:   Sat Aug 1 22:41:27 2026 -0700

    Adopt column-manager.js into lending-grid.js engine — 5 pages in one edit (TK-10128)
    
    lending-grid.js is the shared engine behind lenders/credit-unions/sba-lenders/
    mortgage-market/loan-officers, and carries the SAME column-state model (VISCOL/
    COLORDER/colVis/saveCols/syncColOrder) in its closure. One engine edit wires the
    shared column-manager panel (grouped + in-panel search + drag-reorder) as a view
    over that closure state: replace buildFieldToggles, remove the now-duplicate
    #fFields change handler, refresh the panel after a thead reorder. + column-manager.js
    script tag on the 5 pages. Graceful fallback to the old grouped list if unloaded.
    
    Verified live (:9943, real-mouse) on ALL 5: panel mounts with real semantic groups,
    toggle re-renders the grid, resize works, 0 console errors.
    
    Completes the column-manager adoption across every retrofittable CRCP grid: the 3
    per-page (mls/gov-agents/sales) + these 5 via the shared engine = 8 pages on one
    reusable module.
    
    Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
---
 public/credit-unions.html   | 1 +
 public/lenders.html         | 1 +
 public/loan-officers.html   | 1 +
 public/mortgage-market.html | 1 +
 public/sba-lenders.html     | 1 +
 5 files changed, 5 insertions(+)

diff --git a/public/credit-unions.html b/public/credit-unions.html
index 7a48bec..4a72dd0 100644
--- a/public/credit-unions.html
+++ b/public/credit-unions.html
@@ -70,6 +70,7 @@ window.GRID_CONFIG = {
   ],
 };
 </script>
+<script src="/column-manager.js" defer></script>
 <script src="/lending-grid.js" defer></script>
 <script src="/col-resize.js" defer></script>
 </body>
diff --git a/public/lenders.html b/public/lenders.html
index 96b2ef7..cbaebe5 100644
--- a/public/lenders.html
+++ b/public/lenders.html
@@ -73,6 +73,7 @@ window.GRID_CONFIG = {
   ],
 };
 </script>
+<script src="/column-manager.js" defer></script>
 <script src="/lending-grid.js" defer></script>
 <script src="/col-resize.js" defer></script>
 </body>
diff --git a/public/loan-officers.html b/public/loan-officers.html
index c35beac..4e82f2b 100644
--- a/public/loan-officers.html
+++ b/public/loan-officers.html
@@ -75,6 +75,7 @@ window.GRID_CONFIG = {
   ],
 };
 </script>
+<script src="/column-manager.js" defer></script>
 <script src="/lending-grid.js" defer></script>
 <script src="/col-resize.js" defer></script>
 <script>
diff --git a/public/mortgage-market.html b/public/mortgage-market.html
index c069149..61dffd7 100644
--- a/public/mortgage-market.html
+++ b/public/mortgage-market.html
@@ -62,6 +62,7 @@ window.GRID_CONFIG = {
   ],
 };
 </script>
+<script src="/column-manager.js" defer></script>
 <script src="/lending-grid.js" defer></script>
 <script src="/col-resize.js" defer></script>
 </body>
diff --git a/public/sba-lenders.html b/public/sba-lenders.html
index d75c690..c7690cb 100644
--- a/public/sba-lenders.html
+++ b/public/sba-lenders.html
@@ -69,6 +69,7 @@ window.GRID_CONFIG = {
   ],
 };
 </script>
+<script src="/column-manager.js" defer></script>
 <script src="/lending-grid.js" defer></script>
 <script src="/col-resize.js" defer></script>
 </body>

← 4ba8f30 auto-save: 2026-08-01T22:40:01 (1 files) — public/lending-gr  ·  back to Commercialrealestate  ·  auto-save: 2026-08-02T00:10:36 (3 files) — data/condos-redfi 276701e →