Akascape / CTkTable

Customtkinter Table widget (extension/add-on)
MIT License
265 stars 15 forks source link

Error with .insert method #24

Closed sim2511 closed 1 year ago

sim2511 commented 1 year ago

Hello,

I have issue when I try to use .insert method

for i in range(len(processed_messages)):
    table.insert(row=i, column=0, value=processed_messages[i])

The error I got :

File "C:\Python310\lib\site-packages\customtkinter\windows\widgets\ctk_button.py", line 553, in _clicked self._command() File "c:\Users\CTkTable.py", line 236, in check_presence_mail table.insert(row=i, column=0, value=processed_messages[i]) File "C:\Python310\lib\site-packages\CTkTable\ctktable.py", line 283, in insert self.frame[row,column].delete(0, customtkinter.END) KeyError: (0, 0)

sim2511 commented 1 year ago

Solved the issue, i did something wrong before, nothing wrong with your library, sorry