def BeginEdit(self, row, col, grid):
        "Fetch the value from the table and prepare the edit control"
        self.startValue = grid.GetTable().GetValue(row, col)
        choices = grid.GetTable().columns[col]._choices
        self._tc.Clear()
        self._tc.AppendItems(choices)
        self._tc.SetStringSelection(self.startValue)
        self._tc.SetFocus()
def BeginEdit(self, row, col, grid):
        "Fetch the value from the table and prepare the edit control"
        self.startValue = grid.GetTable().GetValue(row, col)
        choices = grid.GetTable().columns[col]._choices
        self._tc.Clear()
        self._tc.AppendItems(choices)
        self._tc.SetStringSelection(self.startValue)
        self._tc.SetFocus()
def BeginEdit ( self , row , col , grid ) : self . startValue = grid . GetTable ( ) . GetValue ( row , col ) choices = grid . GetTable ( ) . columns [ col ] . _choices self . _tc . Clear ( ) self . _tc . AppendItems ( choices ) self . _tc . SetStringSelection ( self . startValue ) self . _tc . SetFocus ( )
Fetch the value from the table and prepare the edit control
Fetch the value from the table and prepare the edit control