diff --git a/python/xviz_avs/builder/ui_primitive.py b/python/xviz_avs/builder/ui_primitive.py index 0d9404289..10ae07292 100644 --- a/python/xviz_avs/builder/ui_primitive.py +++ b/python/xviz_avs/builder/ui_primitive.py @@ -44,6 +44,15 @@ def treetable(self, columns): return self + def single_row(self, id_, values): + self._validate_prop_set_once('_id') + + row = XVIZTreeTableRowBuilder(id_, values) + self._rows.append(row) + self._type = UIPRIMITIVE_TYPES.TREETABLE + + return self + def row(self, id_, values): self._validate_prop_set_once('_id')