added table manager, to manage tables and handle the treeview

This commit is contained in:
UpstreamData
2022-05-05 15:53:13 -06:00
parent 26c6e47f1e
commit 725b14e583
7 changed files with 166 additions and 87 deletions

View File

@@ -14,7 +14,6 @@ TABLE_HEADERS = {
"CMD": ["IP", "Model", "Command Output"],
"POOLS": [
"IP",
# "Model",
"Split",
"Pool 1",
"Pool 1 User",
@@ -134,8 +133,6 @@ def get_scan_layout():
def get_command_layout():
data = sg.TreeData()
data.insert("", 0, "", ["", "", ""], icon=FAULT_LIGHT)
data.insert("", 1, "", ["192.168.1.13", "", ""], icon=LIGHT)
col_widths = [
IP_COL_WIDTH,
MODEL_COL_WIDTH,