the data is not inserted in the columns and not displayed whatever the data is retrieved and printed, i searched on it and i get nothing
def show_data(self,panel_value):
try:
for item in self.get_children():
self.delete(item)
Current_data = db_file("database.db").get_data(panel_value)
print(Current_data)
self.insert_data(DB_data=Current_data)
self.update()
except Exception as e:
print(f"{e}")
def insert_data(self,DB_data):
for row in DB_data:
self.insert("", "end", values=row)
print("Row inserted:", row)
`