web/views/tableview.py
branchstable
changeset 9328 6a355522438c
parent 9166 e47e192ea0d9
child 9329 335dee3b7447
equal deleted inserted replaced
9327:dbabdc323e7d 9328:6a355522438c
   354         self.view = None
   354         self.view = None
   355         self._cw = None
   355         self._cw = None
   356         self.colid = None
   356         self.colid = None
   357 
   357 
   358     def __str__(self):
   358     def __str__(self):
   359         return '<%s.%s (column %s)>' % (self.view.__class__.__name__,
   359         return '<%s.%s (column %s) at 0x%x>' % (self.view.__class__.__name__,
   360                                         self.__class__.__name__,
   360                                         self.__class__.__name__,
   361                                         self.colid)
   361                                         self.colid, id(self))
   362 
   362 
   363     def bind(self, view, colid):
   363     def bind(self, view, colid):
   364         """Bind the column renderer to its view. This is where `_cw`, `view`,
   364         """Bind the column renderer to its view. This is where `_cw`, `view`,
   365         `colid` are set and the method to override if you want to add more
   365         `colid` are set and the method to override if you want to add more
   366         view/request depending attributes on your column render.
   366         view/request depending attributes on your column render.