
16 Oct
2015
16 Oct
'15
2:55 p.m.
Hi again, How to attach handlers to checkboxes in the CGLtk SortableTable so the handler is invoked automatically when the checkbox is (un)checked? I get it working by subclassing and overriding _widgetCB as below but maybe you have sth more convenient? class ComponentSortableTable(SortableTable): def __init__(self,parent,*args,**kwargs): SortableTable.__init__(self,parent,*args,**kwargs) def _widgetCB(self, datum, column, newVal=None): SortableTable._widgetCB(self, datum, column, newVal=newVal) <my code if column.title == ‘show’: … > Thanks, Jan