implement GRIDs

This commit is contained in:
2018-08-01 22:19:30 +02:00
parent 8988df93fd
commit 755c65a42d
12 changed files with 203 additions and 37 deletions
+4
View File
@@ -57,6 +57,10 @@ class Column implements JsonSerializable
$this->title = $b->title;
$this->type = $b->type;
if ($this->name == '_grid') { // global row ID
throw new NotApplicableException("_grid is a reserved column name.");
}
if (!in_array($this->type, self::colTypes)) {
throw new NotApplicableException("\"$this->type\" is not a valid column type.");
}