Bjs.php
authorAlan Knowles <alan@roojs.com>
Tue, 21 May 2019 07:03:17 +0000 (15:03 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 21 May 2019 07:03:17 +0000 (15:03 +0800)
Bjs.php

diff --git a/Bjs.php b/Bjs.php
index d313779..38eac38 100644 (file)
--- a/Bjs.php
+++ b/Bjs.php
@@ -70,7 +70,17 @@ class Pman_Core_Bjs {
     function iterateColumns($ar)
     {
         foreach($ar as $o) {
-            
+            switch ($o->xtype) {
+                case "ColumnModel":
+                    $this->cols[] = $o;
+                    break;
+                default:
+                    if (isset($o->items)) {
+                        $this->iterateColumns($o->items);
+                    }
+            }
+        }
+    }
      
     
 }