From: Alan Knowles Date: Tue, 21 May 2019 07:03:17 +0000 (+0800) Subject: Bjs.php X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=commitdiff_plain;h=348fd691210e1e99c95fbc3d4fcb3bc0a84ba0a1 Bjs.php --- diff --git a/Bjs.php b/Bjs.php index d3137798..38eac38f 100644 --- 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); + } + } + } + } }