def _selected_changed(self, new): if not self._no_update: try: selected_row = self.value.index(new) except Exception as e: if TRAITS_DEBUG: from traits.api import raise_to_debug raise_to_debug() else: self._selected_row_changed(selected_row)
def get_raw_value ( self, object ): """ Gets the unformatted value of the column for a specified object. """ try: return xgetattr( self.get_object( object ), self.name ) except Exception as e: if TRAITS_DEBUG: from traits.api import raise_to_debug raise_to_debug() return None
def get_raw_value(self, object): """ Gets the unformatted value of the column for a specified object. """ try: return xgetattr(self.get_object(object), self.name) except Exception as e: if TRAITS_DEBUG: from traits.api import raise_to_debug raise_to_debug() return None