|
@@ -418,8 +418,6 @@ HTML
|
|
|
|
|
|
$this->buildRows($data);
|
|
|
|
|
|
- $this->built = true;
|
|
|
-
|
|
|
if ($data && $this->responsive) {
|
|
|
$this->responsive->build();
|
|
|
}
|
|
@@ -427,6 +425,18 @@ HTML
|
|
|
$this->sortHeaders();
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * @return void
|
|
|
+ */
|
|
|
+ protected function callBuilder()
|
|
|
+ {
|
|
|
+ if ($this->builder && ! $this->built) {
|
|
|
+ call_user_func($this->builder, $this);
|
|
|
+ }
|
|
|
+
|
|
|
+ $this->built = true;
|
|
|
+ }
|
|
|
+
|
|
|
/**
|
|
|
* Build the grid rows.
|
|
|
*
|