Updating table values #81
Unanswered
marcellintacite
asked this question in
Q&A
Replies: 3 comments 3 replies
-
Beta Was this translation helpful? Give feedback.
0 replies
-
Beta Was this translation helpful? Give feedback.
0 replies
-
|
@marcellintacite Give a minimal reproducible code for testing, I am not getting any error with update_values |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment



Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am getting this error when updating values in the table :

Here's my code :
def update_table(self): enseignant = EnseignantBackend(self.curseur) value = enseignant.allEnseignants() # Adding header header = ["No","Nom", "Matiere enseignee", "Numero de telephone","Utilisateur"] value.insert(0, header) self.table.update_values(values=value)Here's how i am calling this function initially
def afficherTableEnseignant(self): enseignant = EnseignantBackend(self.curseur) value = enseignant.allEnseignants() # Adding header header = ["No","Nom", "Matiere enseignee", "Numero de telephone","Utilisateur"] value.insert(0, header) self.table = CTkTable(self.enseignant_frame,row=10, column=5, values=value,command=self.show,header_color="#5999ff") self.table.grid(row=1, column=0, padx=5, pady=5, sticky="nsew")Beta Was this translation helpful? Give feedback.
All reactions