Added draft of DataGridColumnsManager that uses Search and Dropdown

This commit is contained in:
2026-01-25 09:47:05 +01:00
parent 0bd56c7f09
commit 7f3e6270a2
6 changed files with 29 additions and 11 deletions

View File

@@ -64,7 +64,7 @@ class Search(MultipleInstance):
self.items = items or []
self.filtered = self.items.copy()
self.get_attr = get_attr or (lambda x: x)
self.template = template or Div
self.template = template or (lambda x: Div(self.get_attr(x)))
self.commands = Commands(self)
def set_items(self, items):