Hi,
I’m using UltimateListCtrl. Now I want to edit the field. I see there are TextEdiMixin which can help to edit the field but when I run and click to edit, I get this error:
“”" listctrl.py - line 560
col = (bisect(self.col_locs, x+self.GetScrollPos(wx.HORIZONTAL)) - 1)
TypeError: GetScrollPos() takes 1 positional argument but 2 were given
“”"
After a while, I find out that UltimateListCtrl has the same GetScrollPos method and takes 1 argument then it return the Window.GetScrollPos which get 2 arguments. The GetScollPos in listctrl.py needs to go to Window.GetScollPos instead of going to GetScrollPos method in ultimatelistctrl.py
So I disable the GetScrollPos method in ultimatelistctrl.py and run again.
I get the new error:
“”" listctrl.py - line 560
col = (bisect(self.col_locs, x+self.GetScrollPos(wx.HORIZONTAL)) - 1)
wx._core.wxAssertionError: C++ assertion “sb” failed at /tmp/build/80754af9/wxpython_1547931003892/work/ext/wxWidgets/src/gtk/window.cpp(5044) in GetScrollPos(): this window is not scrollable
“”"
Is it a bug or something else?
Is there another way to edit the field in UltimateListCtrl?
I choose UltimateListCtrl because I can embed other widgets such as TextCtrl in the field.
I see there are some people asking for the same question but no one is answered. Please take a look at it.
English is not my native language, so if you need to explain something, just ask.
I very appreciate it.
Stark.